From d67ae35bc157dc2fd9ee28161e3df04f6a55d6a7 Mon Sep 17 00:00:00 2001 From: sambufe Date: Thu, 8 Mar 2018 13:34:17 +0100 Subject: [PATCH] BERFBB-4507 https rewrite --- customer/fbb-www/test.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/customer/fbb-www/test.yaml b/customer/fbb-www/test.yaml index dd9ca714..5e78257d 100644 --- a/customer/fbb-www/test.yaml +++ b/customer/fbb-www/test.yaml @@ -479,6 +479,12 @@ infra::profile::apache::pp_vhosts: path: '/var/www/publications-berlin-airport' allow_override: - None + rewrites: + rewrite_cond: + - '%{literal("%")}{HTTP:Https} !on' + - '%{literal("%")}{HTTPS} off' + rewrite_rule: + - '^(.*)$ https://%{literal("%")}{HTTP_HOST}$1 [R=301,L]' custom_fragment: 'ProxyPass / https://www.yumpu.com/kiosk/berlinairport' berlin-airport: docroot: '/var/www/berlin-airport' -- 2.39.5