From a427e327e7aa57d201f36dcfdfe4bd6c2cf5799f Mon Sep 17 00:00:00 2001 From: "sascha.strassheim" Date: Fri, 23 Mar 2018 11:55:36 +0100 Subject: [PATCH] MKWNRW https redirect --- ...ev-www-politische-bildung-nrw-de.pixelpark.net.yaml | 8 ++++++++ ...st-www-politische-bildung-nrw-de.pixelpark.net.yaml | 10 +++++++++- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/customer/mfkuw-politische-bildung/dev-www-politische-bildung-nrw-de.pixelpark.net.yaml b/customer/mfkuw-politische-bildung/dev-www-politische-bildung-nrw-de.pixelpark.net.yaml index 151e7e2a..4a655c6f 100644 --- a/customer/mfkuw-politische-bildung/dev-www-politische-bildung-nrw-de.pixelpark.net.yaml +++ b/customer/mfkuw-politische-bildung/dev-www-politische-bildung-nrw-de.pixelpark.net.yaml @@ -53,3 +53,11 @@ infra::profile::typo3::projects: max_input_vars: '1500' upload_max_filesize: 250M post_max_size: 250M +# https rewrite + rewrites: + - alias: + comment: 'Alles auf https umleiten' + rewrite_cond: + - '%%{ich-trickse}{HTTPS} !=on' + rewrite_rule: + - '(.*) https://%%{ich-trickse}{HTTP_HOST}%%{ich-trickse}{REQUEST_URI} [R=301,L]' diff --git a/customer/mfkuw-politische-bildung/test-www-politische-bildung-nrw-de.pixelpark.net.yaml b/customer/mfkuw-politische-bildung/test-www-politische-bildung-nrw-de.pixelpark.net.yaml index ef53befb..f409c9a3 100644 --- a/customer/mfkuw-politische-bildung/test-www-politische-bildung-nrw-de.pixelpark.net.yaml +++ b/customer/mfkuw-politische-bildung/test-www-politische-bildung-nrw-de.pixelpark.net.yaml @@ -3,7 +3,7 @@ accounts::users: jens.vollmer: apply: true sudo: true - + mysql::server::root_password: ENC[PKCS7,MIIBiQYJKoZIhvcNAQcDoIIBejCCAXYCAQAxggEhMIIBHQIBADAFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEAxIKhsH6IWXdTiur5Bt3bbd0wLmyLZV55w2dkk0c1T/SZbuWaZznNdTFCQ+Ik/r1/Vgr6ZhDczbFPIgHlqJhuQJL5rqeAlbqdEMiRce6ox0T7IeXz5kDxn2+mMidlzoSuEPZJGgBqlpd37vKn3JgQMnyKRotWcKd9s1aoAd6i2RBjtl6uvFQgbeMj1OT9V5zB2SVd4ZJGr+1CdOCefnFNqV7XFupbgTt0jcq1BblqTZDG2ngb8ANpQ4bqeT5Dw2YyRacHXBWY5olhEN3Gd8nQ5Wo/fj0y3uk+Gpqi760wY8IRBg9HQbJLtdsHjO+BMHtdX6jf5UYPwI9gjTgdWhndYTBMBgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBBlU39Ll9SOo3jKCR5xplzSgCBDGyukbOb8d6Yoi9BAYCvTXmabI3hzMDxfLMv14vbOHg==] mysql::server::backup::backuppassword: ENC[PKCS7,MIIBiQYJKoZIhvcNAQcDoIIBejCCAXYCAQAxggEhMIIBHQIBADAFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEAsiQgoDtP+n1i+M6bNqgPoesfOTy5m9k8yGLoU0q6F06/6TNZYV8RIqcAfiD+jiFigz8J8GlOYBfSFveBnQ2fxZRUQSTRD3pZOuxW4YB0gaVR3LQAudX28v/zlNiSp7XMBfH053OwYvnxZ/LVT2JloF8MGq9pqIx91eIRaKvprvrxm51NnrJTcK/Dg51AgX/ZyQ4j2w329JyP6tdfXgzrMfwlzt+2Sfz1CifO9s3WkUt+ujh1aoBeYEqaFwYUhxegWMZXvkaVSiVUs2dI8MG1cDCigeYlN29EJO3ESv+i+3Qc7KfOFlMGodBTVOMkj7AVy79hKI0+uj5d0OtwyfedDDBMBgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBDVTE3vmyghCBJ7OvoL7ywPgCC+IcA+KIy75hPxjY/SMjyzJeavUPZKepeeBnBk7yxi6g==] infra::profile::mysql_server::databases: @@ -53,3 +53,11 @@ infra::profile::typo3::projects: max_input_vars: '1500' upload_max_filesize: 250M post_max_size: 250M +# https rewrite + rewrites: + - alias: + comment: 'Alles auf https umleiten' + rewrite_cond: + - '%%{ich-trickse}{HTTPS} !=on' + rewrite_rule: + - '(.*) https://%%{ich-trickse}{HTTP_HOST}%%{ich-trickse}{REQUEST_URI} [R=301,L]' -- 2.39.5