From 667c84522852902246f0563530be0c1739d44d2f Mon Sep 17 00:00:00 2001 From: sambufe Date: Mon, 26 Jun 2017 16:51:41 +0200 Subject: [PATCH] FBBKERNSERV-238 trailing slash fix prd --- customer/fbb-www/production.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/customer/fbb-www/production.yaml b/customer/fbb-www/production.yaml index 8907f297..24ab59b4 100644 --- a/customer/fbb-www/production.yaml +++ b/customer/fbb-www/production.yaml @@ -767,10 +767,10 @@ infra::profile::apache::pp_vhosts: - '.? - [L]' - comment: 'ansonsten, falls HTTPS dann auf HTTP weiterleiten und abbrechen' rewrite_rule: - - '^(.*)$ http://www.berlin-airport.de$1 [R=301,L]' + - '^(.*)$ http://%%{ich-trickse}{HTTP_HOST}$1 [R=301,L]' - comment: 'Regel fuer SSL-Bereich: wenn HTTP dann auf HTTPS weiterleiten und abbrechen' rewrite_cond: - '%%{ich-trickse}{HTTP:Https} !on' - '%%{ich-trickse}{HTTPS} off' rewrite_rule: - - '^(.*)$ https://www.berlin-airport.de$1 [R=301,L]' + - '^(.*)$ https://%%{ich-trickse}{HTTP_HOST}$1 [R=301,L]' -- 2.39.5