From 8336514fabe6dd4af29a85c601397a5d65dd831c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Oliver=20B=C3=B6ttcher?= Date: Fri, 16 Dec 2016 13:35:51 +0100 Subject: [PATCH] odt: apache --- customer/mbvd-odt/dev-odt-daimler-com.pixelpark.net.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/customer/mbvd-odt/dev-odt-daimler-com.pixelpark.net.yaml b/customer/mbvd-odt/dev-odt-daimler-com.pixelpark.net.yaml index 6dbb575e..44ed2386 100644 --- a/customer/mbvd-odt/dev-odt-daimler-com.pixelpark.net.yaml +++ b/customer/mbvd-odt/dev-odt-daimler-com.pixelpark.net.yaml @@ -38,7 +38,9 @@ site::profile::apache::pp_vhosts: ssl_chain: '/etc/pki/tls/certs/wildcard.pixelpark.net-cert.pem' rewrites_non_ssl: - https: - comment: 'all to https' + comment: 'almost all to https' + rewritecond: + - "%{ich-trickse}{REQUEST_URI} !^/?\.html" rewrite_rule: - '^(.*)$ https://dev-cms-emmt-daimler-com.pixelpark.net$1 [L,R=301]' proxy_preserve_host: true -- 2.39.5