]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
added correct https rewrite cond test-webstats01.pixelpark.net
authorSascha Strassheim <sascha.strassheim@pixelpark.com>
Fri, 10 Nov 2017 12:41:54 +0000 (13:41 +0100)
committerSascha Strassheim <sascha.strassheim@pixelpark.com>
Fri, 10 Nov 2017 12:41:54 +0000 (13:41 +0100)
customer/pixelpark-piwik/test-webstats01.pixelpark.net.yaml

index 3693a32ab0e0d5ca48b8c36bc096d0892b12653a..bd799ff7f15b893368ebd1006bcc99e44d508bd5 100644 (file)
@@ -76,9 +76,10 @@ 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]'
+    rewrites:
+      - https:
+        comment: 'http to https alle anderen '
+        rewrite_cond:
+          - '%%{ich-trickse}{HTTPS} !=on'
+        rewrite_rule:
+          - '(.*) https://%%{ich-trickse}{HTTP_HOST}%%{ich-trickse}{REQUEST_URI} [R=301,L]'