mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 19:23:24 +02:00
icinga: Add new package.
This commit is contained in:
37
config/icinga/icinga.conf
Normal file
37
config/icinga/icinga.conf
Normal file
@@ -0,0 +1,37 @@
|
||||
Listen 1010
|
||||
|
||||
<VirtualHost *:1010>
|
||||
ScriptAlias /icinga/cgi-bin /usr/share/icinga/cgi-bin
|
||||
Alias /icinga /usr/share/icinga/
|
||||
|
||||
RewriteEngine on
|
||||
RewriteRule ^/$ /icinga/ [R]
|
||||
|
||||
<Directory /usr/share/icinga/cgi-bin>
|
||||
Options ExecCGI
|
||||
AllowOverride None
|
||||
|
||||
AuthName "Icinga Access"
|
||||
AuthType Basic
|
||||
AuthUserFile /etc/icinga/htpasswd.users
|
||||
|
||||
Order allow,deny
|
||||
Allow from all
|
||||
|
||||
Require valid-user
|
||||
</Directory>
|
||||
|
||||
<Directory /usr/share/icinga/>
|
||||
Options None
|
||||
AllowOverride All
|
||||
|
||||
AuthName "Icinga Access"
|
||||
AuthType Basic
|
||||
AuthUserFile /etc/icinga/htpasswd.users
|
||||
|
||||
Order allow,deny
|
||||
Allow from all
|
||||
|
||||
Require valid-user
|
||||
</Directory>
|
||||
</VirtualHost>
|
||||
Reference in New Issue
Block a user