]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
pixelpark - satis on https
authorPhilipp Dallig <philipp.dallig@pixelpark.com>
Thu, 12 Jan 2017 15:16:13 +0000 (16:16 +0100)
committerPhilipp Dallig <philipp.dallig@pixelpark.com>
Thu, 12 Jan 2017 15:16:13 +0000 (16:16 +0100)
customer/pixelpark/repo.pixelpark.com.yaml

index d9872197f40e044c7e19037d7506e0c88e278c27..5f068804e3ded3b69d50a41bb42f1b25b2c05d0b 100644 (file)
@@ -40,4 +40,11 @@ site::profile::apache::pp_vhosts:
     ssl_cert: '/etc/pki/tls/certs/wildcard.pixelpark.com-cert.pem'
     ssl_key: '/etc/pki/tls/private/wildcard.pixelpark.com-key.pem'
     ssl_chain: '/etc/pki/tls/certs/wildcard.pixelpark.com-cert.pem'
-    proxy_dest: http://localhost:8080
\ No newline at end of file
+    proxy_dest: http://localhost:8080
+    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]'
\ No newline at end of file