From 3e9f8b0867eaf702f1b5b1940774142a744f8c65 Mon Sep 17 00:00:00 2001 From: Sascha Strassheim Date: Fri, 10 Nov 2017 13:38:46 +0100 Subject: [PATCH] added https rewrite cond test-webstats01.pixelpark.net --- customer/pixelpark-piwik/test-webstats01.pixelpark.net.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/customer/pixelpark-piwik/test-webstats01.pixelpark.net.yaml b/customer/pixelpark-piwik/test-webstats01.pixelpark.net.yaml index 8b4d16df..3693a32a 100644 --- a/customer/pixelpark-piwik/test-webstats01.pixelpark.net.yaml +++ b/customer/pixelpark-piwik/test-webstats01.pixelpark.net.yaml @@ -76,3 +76,9 @@ infra::profile::apache::pp_vhosts: allow_override: - All directoryindex: index.php index.html + - https: + comment: 'http to https' + rewrite_cond: + - '%%{ich-trickse}{HTTPS} !=on' + rewrite_rule: + - '(.*) https://%%{ich-trickse}{HTTP_HOST}%%{ich-trickse}{REQUEST_URI} [R=301,L]' -- 2.39.5