ok let us try this method
This commit is contained in:
parent
1786ab0f99
commit
f70f7a9580
1 changed files with 8 additions and 2 deletions
|
@ -23,10 +23,16 @@ ScriptAlias /tac.cgi /usr/lib64/nagios/cgi-bin/tac.cgi
|
||||||
Options ExecCGI
|
Options ExecCGI
|
||||||
</Location>
|
</Location>
|
||||||
|
|
||||||
{% if vars['nagios_location'] == 'internal' %}
|
{% if vars['nagios_location'] == 'external' %}
|
||||||
|
<Location /apache-status>
|
||||||
|
SetHandler server-status
|
||||||
|
Require ip 2610:28:3090:3001:dead:beef:cafe:fed9
|
||||||
|
</Location>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
RewriteEngine on
|
RewriteEngine on
|
||||||
RewriteRule ^/$ /nagios/ [R]
|
RewriteRule ^/$ /nagios/ [R]
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
Alias /nagios /usr/share/nagios/html/
|
Alias /nagios /usr/share/nagios/html/
|
||||||
<Directory "/usr/share/nagios/html">
|
<Directory "/usr/share/nagios/html">
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue