]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
deuwo - DWWS-1176
authorOliver Böttcher <oliver.boettcher@pixelpark.com>
Mon, 10 Sep 2018 12:53:36 +0000 (14:53 +0200)
committerOliver Böttcher <oliver.boettcher@pixelpark.com>
Mon, 10 Sep 2018 12:53:36 +0000 (14:53 +0200)
customer/deuwo/web01-deutsche-wohnen-com.pixelpark.net.yaml

index bfdbfb0c62b6e79de4c71e38b9ba51ac831e52c4..344cb514e979bc7625aa310eb85934cdf4bfaeb9 100644 (file)
@@ -83,6 +83,7 @@ infra::profile::typo3::projects_composer_monolith:
       - deutsche-wohnen.de
       - www.deutsche-wohnen.de
       - web01-deutsche-wohnen-com.pixelpark.net
+      - unterlagen.deutsche-wohnen.com
 #    cert_servername: 'wildcard.pixelpark.net'
 #    cert_customer: 'pixelpark'
 #    ssl_cert: /etc/pki/tls/certs/wildcard.pixelpark.net-cert.pem
@@ -104,6 +105,11 @@ infra::profile::typo3::projects_composer_monolith:
         require:
           - local
     rewrites:
+      - DWWS-1176:
+        rewrite_cond:
+          - '%{literal("%")}{HTTP_HOST} ^unterlagen\.deutsche-wohnen\.com$'
+        rewrite_rule:
+          - '^(.*)$ https://www.deutsche-wohnen.com/erforderliche-unterlagen [R=301,L]'
       - comment: 'http to https'
         rewrite_cond:
           - '%%{ich-trickse}{HTTP:HTTPS} !=on'
@@ -319,12 +325,6 @@ infra::profile::apache::pp_vhosts:
           - All
         directoryindex: index.php index.html
     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]'
       - https:
         comment: 'Alles auf https umleiten'
         rewrite_cond: