]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
ssl triple win fachkraefte
authorsascha.strassheim <sascha.strassheim@pixelpark.com>
Mon, 14 May 2018 09:07:33 +0000 (11:07 +0200)
committersascha.strassheim <sascha.strassheim@pixelpark.com>
Mon, 14 May 2018 09:07:33 +0000 (11:07 +0200)
customer/joml/production.yaml

index e873405037b7b894d7e05fbf43e4a68b7943d890..11ddf6705586749defd24b89e0c52613718f3189 100644 (file)
@@ -178,7 +178,12 @@ infra::profile::wordpress::projects:
         auth_require: 'valid-user'
 #      - provider: location
 #        path: '/.well-known/pki-validation/fileauth.txt'
-
+    rewrites:
+      - comment: 'http to https'
+        rewrite_cond:
+          - '%%{ich-trickse}{HTTPS} !=on'
+        rewrite_rule:
+          - '(.*) https://%%{ich-trickse}{HTTP_HOST}%%{ich-trickse}{REQUEST_URI} [R=301,L]'
 
 infra::profile::apache::pp_vhosts:
   regionale-fachkraefteinitiative: