From 3a86acb0e05d5db21ce01883d04de4d595ae7914 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Oliver=20B=C3=B6ttcher?= Date: Thu, 30 Mar 2017 13:44:24 +0200 Subject: [PATCH] MHK - fix rewrite rules --- customer/mhk/www01-mhk-kueche-de.pixelpark.net.yaml | 1 + customer/mhk/www02-mhk-kueche-de.pixelpark.net.yaml | 1 + customer/mhk/www03-mhk-kueche-de.pixelpark.net.yaml | 1 + 3 files changed, 3 insertions(+) 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: -- 2.39.5