forked from JasonRivers/Docker-Nagios
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhttpd.conf.patch
58 lines (58 loc) · 1.7 KB
/
httpd.conf.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
12c12
< <Location "/nagios">
---
> <Directory "/opt/nagios/share">
45c45
< </Location>
---
> </Directory>
47c47
< <Location "/nagios/cgi-bin">
---
> <Directory "/opt/nagios/sbin">
53,58c53,63
< Require all granted
< # Require host 127.0.0.1
< AuthName "Nagios Access"
< AuthType Basic
< AuthUserFile /opt/nagios/etc/htpasswd.users
< Require valid-user
---
> Require all granted
> # Require host 127.0.0.1
> AuthName "Nagios Access"
> AuthUserFile /opt/nagios/etc/htpasswd.users
> AuthType form
> AuthFormLoginRequiredLocation "/nagios/login.html"
> Session On
> SessionCookieName NagiosSession path=/nagios
> SessionEnv On
> SessionCryptoPassphrase ##SESSIONCRYPT##
> Require valid-user
62,70c67,78
< Order allow,deny
< Allow from all
< # Order deny,allow
< # Deny from all
< # Allow from 127.0.0.1
< AuthName "Nagios Access"
< AuthType Basic
< AuthUserFile /opt/nagios/etc/htpasswd.users
< Require valid-user
---
> Order allow,deny
> Allow from all
> # Order deny,allow
> # Deny from all
> # Allow from 127.0.0.1
> AuthType form
> AuthFormLoginRequiredLocation "/nagios/login.html"
> Session On
> SessionCookieName NagiosSession path=/nagios
> SessionEnv On
> SessionCryptoPassphrase ##SESSIONCRYPT##
> Require valid-user
72c80
< </Location>
---
> </Directory>