From: Andreas Gerstenberg Date: Wed, 16 Aug 2017 09:19:28 +0000 (+0200) Subject: update rewrites X-Git-Tag: v0.1.0~2623 X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=0d03f9bad4d4297af4a544e8c2c4bf5a36b0826b;p=pixelpark%2Fhiera.git update rewrites --- diff --git a/customer/spk-spar-checker/test.yaml b/customer/spk-spar-checker/test.yaml index a9a78024..a033857a 100644 --- a/customer/spk-spar-checker/test.yaml +++ b/customer/spk-spar-checker/test.yaml @@ -57,11 +57,11 @@ infra::profile::apache::pp_vhosts: setenvif_ssl: - 'HTTPS on HTTPS=on' rewrites: -# - comment: 'http to https' -# rewrite_cond: -# - '%%{ich-trickse}{HTTPS} !=on' -# rewrite_rule: -# - '(.*) https://stage-spar-checker-de.pixelpark.net%%{ich-trickse}{REQUEST_URI} [R=301,L]' + - comment: 'http to https' + rewrite_cond: + - '%%{ich-trickse}{HTTPS} !=on' + rewrite_rule: + - '^(.*)$ https://stage-spar-checker-de.pixelpark.net$1 [R=301,L]' - comment: 'Alle Aliase auf Servername' rewrite_cond: - '%%{ich-trickse}{HTTP_HOST} !^stage-spar-checker-de.pixelpark.net$ [NC]'