]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
ODT - fix apache
authorOliver Böttcher <oliver.boettcher@pixelpark.com>
Thu, 20 Apr 2017 09:09:35 +0000 (11:09 +0200)
committerOliver Böttcher <oliver.boettcher@pixelpark.com>
Thu, 20 Apr 2017 09:09:35 +0000 (11:09 +0200)
customer/mbvd-odt/odt-daimler-com.pixelpark.net.yaml

index 8c5f1acdbfc55379b36757a2737024f2658a1efa..e22fc21a4eb639b1dcd63dca8280f247b6ddb11e 100644 (file)
@@ -1,10 +1,10 @@
 ---
 infra::role: base
-#infra::additional_classes:
-  #- infra::profile::apache
-  #- apache::mod::proxy_ajp
-  #- apache::mod::remoteip
-  #- apache::mod::headers
+infra::additional_classes:
+  - infra::profile::apache
+  - apache::mod::proxy_ajp
+  - apache::mod::remoteip
+  - apache::mod::headers
 
 infra::profile::apache::pp_vhosts:
   odt:
@@ -24,7 +24,7 @@ infra::profile::apache::pp_vhosts:
       - https:
         comment: 'almost all to https'
         rewritecond:
-          - '%{ich-trickse}{REQUEST_URI} !^/.\.html'
+          - '%{ich-trickse}{REQUEST_URI} !^(/.\.html|/emm_webservice)$'
         rewrite_rule:
           - '^(.*)$ https://odt-daimler-com.pixelpark.net$1 [L,R=301]'
     proxy_preserve_host: true