From: Oliver Böttcher Date: Fri, 16 Dec 2016 12:35:51 +0000 (+0100) Subject: odt: apache X-Git-Tag: v0.1.0~3725^2~8^2 X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=8336514fabe6dd4af29a85c601397a5d65dd831c;p=pixelpark%2Fhiera.git odt: apache --- 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