From 1468a3757ea3414c5bb247db1464974f93256b9c Mon Sep 17 00:00:00 2001 From: Philipp Dallig Date: Thu, 12 Jan 2017 16:16:13 +0100 Subject: [PATCH] pixelpark - satis on https --- customer/pixelpark/repo.pixelpark.com.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/customer/pixelpark/repo.pixelpark.com.yaml b/customer/pixelpark/repo.pixelpark.com.yaml index d9872197..5f068804 100644 --- a/customer/pixelpark/repo.pixelpark.com.yaml +++ b/customer/pixelpark/repo.pixelpark.com.yaml @@ -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 -- 2.39.5