From 62c755dcd38020c9abd37777b16ada4cdcd1fd15 Mon Sep 17 00:00:00 2001 From: Arne Teuke Date: Mon, 24 Jul 2017 12:07:29 +0100 Subject: [PATCH] fixed forwarding --- templates/httpd/forward_conf.erb | 2 +- templates/httpd/nagios_ssl_vhost.erb | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/templates/httpd/forward_conf.erb b/templates/httpd/forward_conf.erb index d7728b5..db5ffc6 100644 --- a/templates/httpd/forward_conf.erb +++ b/templates/httpd/forward_conf.erb @@ -4,7 +4,7 @@ ServerName www.<%= @ng_webserver_name %>/nagios ServerAlias <%= @ng_webserver_name %> <% if @ng_use_https == true -%> - Redirect permanent / https://<%= @ng_webserver_name %>/nagios + Redirect permanent / https://<%= @ng_webserver_name %>/ <% end -%> <% if @ng_use_https != true -%> diff --git a/templates/httpd/nagios_ssl_vhost.erb b/templates/httpd/nagios_ssl_vhost.erb index 63eefae..c58c98a 100644 --- a/templates/httpd/nagios_ssl_vhost.erb +++ b/templates/httpd/nagios_ssl_vhost.erb @@ -115,7 +115,6 @@ Alias /nagios "/usr/share/nagios/html" RedirectMatch ^/$ https://<%= @ng_webserver_name %>/nagios - SetEnvIf User-Agent ".*MSIE.*" \ nokeepalive ssl-unclean-shutdown \ downgrade-1.0 force-response-1.0