mirror of https://github.com/zulip/zulip.git
Move the nagios Apache authentication directives to a <Location> block
Following the trac Apache config. (imported from commit 01e773f2361d85f45f190f6ade2510b84a2f88ee)
This commit is contained in:
parent
41319fe820
commit
7c495d7232
|
@ -23,6 +23,14 @@
|
|||
|
||||
RedirectMatch ^/?$ https://nagios.humbughq.com/nagios3/
|
||||
|
||||
<Location "/">
|
||||
AuthType Digest
|
||||
AuthName "wiki"
|
||||
AuthDigestProvider file
|
||||
AuthUserFile /etc/apache2/users/wiki
|
||||
Require valid-user
|
||||
</Location>
|
||||
|
||||
<DirectoryMatch (/usr/share/nagios3/htdocs|/usr/lib/cgi-bin/nagios3|/etc/nagios3/stylesheets)>
|
||||
Options FollowSymLinks
|
||||
|
||||
|
@ -31,12 +39,6 @@
|
|||
AllowOverride AuthConfig
|
||||
Order Allow,Deny
|
||||
Allow From All
|
||||
|
||||
AuthType Digest
|
||||
AuthName "wiki"
|
||||
AuthDigestProvider file
|
||||
AuthUserFile /etc/apache2/users/wiki
|
||||
Require valid-user
|
||||
</DirectoryMatch>
|
||||
|
||||
<Directory /usr/share/nagios3/htdocs>
|
||||
|
|
Loading…
Reference in New Issue