From: Sascha Date: Mon, 27 Aug 2018 09:45:06 +0000 (+0200) Subject: deuwo ssl rewrite X-Git-Tag: v0.1.0~280 X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=20780087c7caf1f51fe598ec97e0ab1676b60588;p=pixelpark%2Fhiera.git deuwo ssl rewrite --- diff --git a/customer/deuwo/web01-deutsche-wohnen-com.pixelpark.net.yaml b/customer/deuwo/web01-deutsche-wohnen-com.pixelpark.net.yaml index 89844f4f..cb2319c8 100644 --- a/customer/deuwo/web01-deutsche-wohnen-com.pixelpark.net.yaml +++ b/customer/deuwo/web01-deutsche-wohnen-com.pixelpark.net.yaml @@ -95,10 +95,11 @@ infra::profile::typo3::projects_composer_monolith: require: - local rewrites: -# - comment: 'http to https' -# rewrite_cond: -# - '%%{ich-trickse}{HTTPS} !=on' -# rewrite_rule: + - 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]' - DWWS-1152: comment: 'Rewrites deuwo' @@ -285,7 +286,7 @@ infra::profile::apache::pp_vhosts: docroot: /var/www/immo/public servername: api.deutsche-wohnen.com serveraliases: - - api01-deutsche-wohnen-com.pixelpark.net + - api01-deutsche-wohnen-com.pixelpark.net cert_servername: 'wildcard.pixelpark.net' cert_customer: 'pixelpark' ssl_cert: '/etc/pki/tls/certs/wildcard.pixelpark.net-cert.pem'