forwarding is workg properly now
This commit is contained in:
@@ -1,12 +1,13 @@
|
||||
<VirtualHost *:<%= @ng_http_port %>>
|
||||
ServerAdmin root@localhost
|
||||
DocumentRoot /var/www/html
|
||||
ServerName www.<%= @ng_webserver_name %>
|
||||
ServerName www.<%= @ng_webserver_name %>/nagios
|
||||
ServerAlias <%= @ng_webserver_name %>
|
||||
<% if @ng_use_https == true -%>
|
||||
Redirect permanent / https://<%= @ng_webserver_name %>/nagios
|
||||
<% end -%>
|
||||
<% if @ng_use_https != true -%>
|
||||
|
||||
ScriptAlias /nagios/cgi-bin/ "/usr/lib64/nagios/cgi-bin/"
|
||||
|
||||
<Directory "/usr/lib64/nagios/cgi-bin/">
|
||||
|
||||
@@ -113,6 +113,8 @@ Alias /nagios "/usr/share/nagios/html"
|
||||
</IfVersion>
|
||||
</Directory>
|
||||
|
||||
RedirectMatch ^/$ https://<%= @ng_webserver_name %>/nagios
|
||||
|
||||
|
||||
SetEnvIf User-Agent ".*MSIE.*" \
|
||||
nokeepalive ssl-unclean-shutdown \
|
||||
|
||||
Reference in New Issue
Block a user