]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
bat.pp.net - https redirect
authorThomas Heller <thomas.heller@pixelpark.com>
Thu, 13 Oct 2016 09:43:37 +0000 (11:43 +0200)
committerThomas Heller <thomas.heller@pixelpark.com>
Thu, 13 Oct 2016 09:43:37 +0000 (11:43 +0200)
customer/pixelpark/bat.pixelpark.net.yaml

index 301a254bd7a0284bee7a1ce35cbbabcd9cf261ee..2b067991c47a136840c2594d0f58df97dc5054e1 100644 (file)
@@ -32,3 +32,10 @@ site::profile::apache::pp_vhosts:
       - /itsmanager
       - /manager
       - /error
+    rewrites:
+      - http_to_https:
+        comment: 'Alles auf https umleiten'
+        rewrite_cond:
+          - '%%{ich-trickse}{HTTPS} !=on'
+        rewrite_rule:
+          - ^(.*)$  https://bat.pixelpark.net/logon.do$1 [R=301,L]