From 7c93bb9e92bfe47ccfb3f681c0999631c106fd2f Mon Sep 17 00:00:00 2001 From: Andreas Gerstenberg Date: Thu, 14 Sep 2017 13:00:46 +0200 Subject: [PATCH] spk-spar-checker update rewrite rules --- customer/spk-spar-checker/production.yaml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/customer/spk-spar-checker/production.yaml b/customer/spk-spar-checker/production.yaml index 4e392417..dc43102d 100644 --- a/customer/spk-spar-checker/production.yaml +++ b/customer/spk-spar-checker/production.yaml @@ -139,16 +139,17 @@ infra::profile::apache::pp_vhosts: rewrite_rule: - '^(.*)$ %%{ich-trickse}{ENV:BASE}/index.php [L]' rewrites: - - comment: 'http to https' - rewrite_cond: - - '%%{ich-trickse}{HTTP:HTTPS} !=on' - rewrite_rule: - - '^(.*)$ https://www.spar-checker.de$1 [R=301,L]' - comment: 'Alle Aliase auf Servername' rewrite_cond: - '%%{ich-trickse}{HTTP_HOST} !^www\.spar-checker\.de$ [NC]' rewrite_rule: - '^(.*)$ https://www.spar-checker.de [R=301,L]' + - comment: 'http to https' + rewrite_cond: + - '%%{ich-trickse}{HTTP:HTTPS} !=on' + - '%%{ich-trickse}{HTTP_HOST} ^www\.spar-checker\.de$ [NC]' + rewrite_rule: + - '^(.*)$ https://www.spar-checker.de$1 [R=301,L]' infra::profile::cron::cronjobs: clear_tokens: -- 2.39.5