From: Andreas Gerstenberg Date: Thu, 14 Sep 2017 11:00:46 +0000 (+0200) Subject: spk-spar-checker update rewrite rules X-Git-Tag: v0.1.0~2437^2~8 X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=7c93bb9e92bfe47ccfb3f681c0999631c106fd2f;p=pixelpark%2Fhiera.git spk-spar-checker update rewrite rules --- 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: