From 9075784e4d5c314310fee1aef3cf064118b6d82e Mon Sep 17 00:00:00 2001 From: Andreas Gerstenberg Date: Tue, 4 Sep 2018 12:10:08 +0200 Subject: [PATCH] spk-blog vorbereitung rewrites --- customer/spk-blog/sparkasseblog01.pixelpark.net.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/customer/spk-blog/sparkasseblog01.pixelpark.net.yaml b/customer/spk-blog/sparkasseblog01.pixelpark.net.yaml index 2f7deafd..5c03a453 100644 --- a/customer/spk-blog/sparkasseblog01.pixelpark.net.yaml +++ b/customer/spk-blog/sparkasseblog01.pixelpark.net.yaml @@ -96,14 +96,15 @@ infra::profile::wordpress::projects: # - comment: 'erzgebirge.sparkasseblog.de auf erz-sblog.de' # rewrite_cond: -# - '%{literal("%")}{HTTP_HOST} ^erzgebirge.sparkasseblog.de$' +# - '%{literal("%")}{HTTP_HOST} ^erzgebirge.sparkasseblog.de$ [OR]' +# - '%{literal("%")}{HTTP_HOST} ^www.erz-sblog.de$' # rewrite_rule: # - '^(.*)$ https://erz-sblog.de$1 [R=301,L]' # - comment: 'Weiterleitung auf https' # rewrite_cond: # - '%{literal("%")}{HTTP:HTTPS} !=on [NC]' -# - '%{literal("%")}{HTTP_HOST} ^erz-sblog.de$' +# - '%{literal("%")}{HTTP_HOST} ^(www\.)?erz-sblog.de$' # rewrite_rule: # - '^(.*)$ https://erz-sblog.de$1 [R=301,L]' -- 2.39.5