diff --git a/roles/nagios_server/files/httpd/nagios.conf b/roles/nagios_server/files/httpd/nagios.conf index 9dc07108f6..ac2b5984a8 100644 --- a/roles/nagios_server/files/httpd/nagios.conf +++ b/roles/nagios_server/files/httpd/nagios.conf @@ -27,7 +27,10 @@ ScriptAlias /tac.cgi /usr/lib64/nagios/cgi-bin/tac.cgi Options None -Alias / /usr/share/nagios/html/ +RewriteEngine on +RewriteRule ^/$ /nagios/ [R] + +Alias /nagios /usr/share/nagios/html/ # This will only affect noc2 because the proxies only forward -external to it. Alias /nagios-external /usr/share/nagios/html/