From be9faf336026d924aa60301516855f1e78c5f129 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Oliver=20B=C3=B6ttcher?= Date: Mon, 3 Sep 2018 15:09:10 +0200 Subject: [PATCH] DEUWO - DWWS-1168, DWWS-1167 --- ...b01-deutsche-wohnen-com.pixelpark.net.yaml | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/customer/deuwo/web01-deutsche-wohnen-com.pixelpark.net.yaml b/customer/deuwo/web01-deutsche-wohnen-com.pixelpark.net.yaml index a8dbc069..8ce0169d 100644 --- a/customer/deuwo/web01-deutsche-wohnen-com.pixelpark.net.yaml +++ b/customer/deuwo/web01-deutsche-wohnen-com.pixelpark.net.yaml @@ -80,6 +80,8 @@ infra::profile::typo3::projects_composer_monolith: ssl: false serveraliases: - www.deutsche-wohnen.com + - deutsche-wohnen.de + - www.deutsche-wohnen.de - web01-deutsche-wohnen-com.pixelpark.net # cert_servername: 'wildcard.pixelpark.net' # cert_customer: 'pixelpark' @@ -101,13 +103,12 @@ infra::profile::typo3::projects_composer_monolith: auth_require: 'valid-user' require: - local -# rewrites: -# - comment: 'http to https' -# rewrite_cond: -# - '%%{ich-trickse}{HTTPS} !=on' -# rewrite_rule: -# - '(.*) https://www.deutsche-wohnen.com$1 [R=301,L]' -# - '(.*) https://%%{ich-trickse}{HTTP_HOST}%%{ich-trickse}{REQUEST_URI} [R=301,L]' + rewrites: + - comment: 'http to https' + rewrite_cond: + - '%%{ich-trickse}{HTTP:HTTPS} !=on' + rewrite_rule: + - '(.*) https://www.deutsche-wohnen.com$1 [R=301,L]' - DWWS-1152: comment: 'Rewrites deuwo' rewrite_cond: @@ -291,8 +292,8 @@ infra::profile::apache::pp_vhosts: symfony: docroot: /var/www/immo/public servername: api01-deutsche-wohnen-com.pixelpark.net -# serveraliases: -# - api.deutsche-wohnen.com + serveraliases: + - api.deutsche-wohnen.com cert_servername: 'wildcard.pixelpark.net' cert_customer: 'pixelpark' ssl_cert: '/etc/pki/tls/certs/wildcard.pixelpark.net-cert.pem' -- 2.39.5