]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
DEUWO - api ssl redirect für lb
authorOliver Böttcher <oliver.boettcher@pixelpark.com>
Mon, 3 Sep 2018 14:11:27 +0000 (16:11 +0200)
committerOliver Böttcher <oliver.boettcher@pixelpark.com>
Mon, 3 Sep 2018 14:11:27 +0000 (16:11 +0200)
customer/deuwo/web01-deutsche-wohnen-com.pixelpark.net.yaml

index d8c7e1b2df84d3065c2db2ef589e279f078eab4b..5cc374464805bc2e82e77a5089688f0d71c76ff4 100644 (file)
@@ -317,18 +317,18 @@ infra::profile::apache::pp_vhosts:
           - All
         directoryindex: index.php index.html
     rewrites:
-      - alias:
-        comment: 'Alles auf https umleiten'
-        rewrite_cond:
-          - '%%{ich-trickse}{HTTPS} !=on'
-        rewrite_rule:
-          - '(.*) https://%%{ich-trickse}{HTTP_HOST}%%{ich-trickse}{REQUEST_URI} [R=301,L]'
-#      - https:
+#      - alias:
 #        comment: 'Alles auf https umleiten'
 #        rewrite_cond:
-#          - '%%{ich-trickse}{HTTP:HTTPS} !=on'
+#          - '%%{ich-trickse}{HTTPS} !=on'
 #        rewrite_rule:
 #          - '(.*) https://%%{ich-trickse}{HTTP_HOST}%%{ich-trickse}{REQUEST_URI} [R=301,L]'
+      - https:
+        comment: 'Alles auf https umleiten'
+        rewrite_cond:
+          - '%%{ich-trickse}{HTTP:HTTPS} !=on'
+        rewrite_rule:
+          - '(.*) https://%%{ich-trickse}{HTTP_HOST}%%{ich-trickse}{REQUEST_URI} [R=301,L]'
 # logstash
 
 logstash::generic_resource: