From: Philipp Dallig Date: Thu, 12 Jan 2017 15:16:13 +0000 (+0100) Subject: pixelpark - satis on https X-Git-Tag: v0.1.0~3621 X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=1468a3757ea3414c5bb247db1464974f93256b9c;p=pixelpark%2Fhiera.git pixelpark - satis on https --- 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