From: Oliver Böttcher Date: Thu, 30 Mar 2017 11:44:24 +0000 (+0200) Subject: MHK - fix rewrite rules X-Git-Tag: v0.1.0~3353^2~1^2 X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=3a86acb0e05d5db21ce01883d04de4d595ae7914;p=pixelpark%2Fhiera.git MHK - fix rewrite rules --- diff --git a/customer/mhk/www01-mhk-kueche-de.pixelpark.net.yaml b/customer/mhk/www01-mhk-kueche-de.pixelpark.net.yaml index ad9a7950..150fe122 100644 --- a/customer/mhk/www01-mhk-kueche-de.pixelpark.net.yaml +++ b/customer/mhk/www01-mhk-kueche-de.pixelpark.net.yaml @@ -78,6 +78,7 @@ site::profile::apache::pp_vhosts: - nonwww2: rewrite_cond: - '%%{ich-trickse}{HTTP_HOST} ^www-kueche-de\.pixelpark\.net$ [NC]' + - '%%{ich-trickse}{HTTP:HTTPS} !=on [NC]' rewrite_rule: - '^(.*)$ https://www-kueche-de.pixelpark.net$1 [R=301,L]' - to_ssl: diff --git a/customer/mhk/www02-mhk-kueche-de.pixelpark.net.yaml b/customer/mhk/www02-mhk-kueche-de.pixelpark.net.yaml index 3e051058..abb14ab0 100644 --- a/customer/mhk/www02-mhk-kueche-de.pixelpark.net.yaml +++ b/customer/mhk/www02-mhk-kueche-de.pixelpark.net.yaml @@ -69,6 +69,7 @@ site::profile::apache::pp_vhosts: - nonwww2: rewrite_cond: - '%%{ich-trickse}{HTTP_HOST} ^www-kueche-de\.pixelpark\.net$ [NC]' + - '%%{ich-trickse}{HTTP:HTTPS} !=on [NC]' rewrite_rule: - '^(.*)$ https://www-kueche-de.pixelpark.net$1 [R=301,L]' - to_ssl: diff --git a/customer/mhk/www03-mhk-kueche-de.pixelpark.net.yaml b/customer/mhk/www03-mhk-kueche-de.pixelpark.net.yaml index 21d0f821..4616a794 100644 --- a/customer/mhk/www03-mhk-kueche-de.pixelpark.net.yaml +++ b/customer/mhk/www03-mhk-kueche-de.pixelpark.net.yaml @@ -69,6 +69,7 @@ site::profile::apache::pp_vhosts: - nonwww2: rewrite_cond: - '%%{ich-trickse}{HTTP_HOST} ^www-kueche-de\.pixelpark\.net$ [NC]' + - '%%{ich-trickse}{HTTP:HTTPS} !=on [NC]' rewrite_rule: - '^(.*)$ https://www-kueche-de.pixelpark.net$1 [R=301,L]' - to_ssl: