From: Michael Krause Date: Tue, 24 Jul 2018 15:17:26 +0000 (+0200) Subject: rewrites non ssl X-Git-Tag: v0.1.0~522 X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=d377e000d209b1c4101ca7181e66e8c95cec9994;p=pixelpark%2Fhiera.git rewrites non ssl --- diff --git a/customer/pixelpark/ipam.pixelpark.com.yaml b/customer/pixelpark/ipam.pixelpark.com.yaml index b55432c7..bb1f2cbd 100644 --- a/customer/pixelpark/ipam.pixelpark.com.yaml +++ b/customer/pixelpark/ipam.pixelpark.com.yaml @@ -19,3 +19,9 @@ infra::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' + + rewrites_non_ssl: + - https: + comment: 'all to https' + rewrite_rule: + - '^(.*)$ https://${SERVERNAME}$1 [L,R=301]'