From 9cffa3623da700144486aa790fa1e0ada098a85a Mon Sep 17 00:00:00 2001 From: Andreas Gerstenberg Date: Tue, 4 Sep 2018 09:21:57 +0200 Subject: [PATCH] spk-blog vorbereitung weiterleitung erz-sblog auf https --- customer/spk-blog/sparkasseblog01.pixelpark.net.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/customer/spk-blog/sparkasseblog01.pixelpark.net.yaml b/customer/spk-blog/sparkasseblog01.pixelpark.net.yaml index 49b7b857..2f7deafd 100644 --- a/customer/spk-blog/sparkasseblog01.pixelpark.net.yaml +++ b/customer/spk-blog/sparkasseblog01.pixelpark.net.yaml @@ -96,7 +96,14 @@ 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$' +# 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$' # rewrite_rule: # - '^(.*)$ https://erz-sblog.de$1 [R=301,L]' -- 2.39.5