changeset 156:9cf4ebd6d2ba puppet-3.6

Remove slash in redirect because group catches path slash Having this slash causes double-slash
author IBBoard <dev@ibboard.co.uk>
date Tue, 28 Mar 2017 21:12:49 +0100
parents e661cb2dd942
children c6b1b42f3e4b
files modules/website/templates/https_core_conf.erb
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/modules/website/templates/https_core_conf.erb	Tue Mar 28 21:05:12 2017 +0100
+++ b/modules/website/templates/https_core_conf.erb	Tue Mar 28 21:12:49 2017 +0100
@@ -4,4 +4,4 @@
 Header always set X-Frame-Options "SAMEORIGIN"
 
 RewriteCond %{HTTP_HOST} !=<%= @primary_name %>
-RewriteRule ^(.*)$ https://<%= @primary_name %>/$1 [R=301,L]
+RewriteRule ^(.*)$ https://<%= @primary_name %>$1 [R=301,L]