]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
ODT - redirect to login
authorOliver Böttcher <oliver.boettcher@pixelpark.com>
Wed, 23 Aug 2017 15:42:13 +0000 (17:42 +0200)
committerOliver Böttcher <oliver.boettcher@pixelpark.com>
Wed, 23 Aug 2017 15:42:13 +0000 (17:42 +0200)
customer/mbvd-odt/odt-daimler-com.pixelpark.net.yaml

index 78331198bf918d01b83317aa48ce9a8464a8ab09..b04a92b66b75beadd2436517dd96eb78f65a11f9 100644 (file)
@@ -31,10 +31,15 @@ infra::profile::apache::pp_vhosts:
     rewrites_non_ssl:
       - https:
         comment: 'almost all to https'
-        rewritecond:
+        rewrite_cond:
           - '%%{ich-trickse}{REQUEST_URI} !^/.\.html'
         rewrite_rule:
           - '^(.*)$ https://odt.daimler.com$1 [L,R=301]'
+    rewrites_ssl:
+      - logon:
+        comment: 'redirect to logon.do'
+        rewrite_rule:
+          - '^(/?)$ https://odt.daimler.com/logon.do [L,R=301]'
     proxy_preserve_host: true
     proxy_pass:
       - { path: /teilenews-service, url: 'http://localhost:8081/teilenews-service' }