From: sambufe Date: Mon, 26 Jun 2017 14:51:41 +0000 (+0200) Subject: FBBKERNSERV-238 trailing slash fix prd X-Git-Tag: v0.1.0~2756 X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=667c84522852902246f0563530be0c1739d44d2f;p=pixelpark%2Fhiera.git FBBKERNSERV-238 trailing slash fix prd --- 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]'