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

index e22fc21a4eb639b1dcd63dca8280f247b6ddb11e..35360f6e7471eccb8c6c04d299579c4ea7315844 100644 (file)
@@ -21,9 +21,8 @@ infra::profile::apache::pp_vhosts:
     #ssl_crl: '/etc/pki/tls/certs/odt-cacrl.pem'
     ssl_ca: '/etc/pki/tls/certs/odt-root-ca.pem'
     rewrites_non_ssl:
-      - https:
-        comment: 'almost all to https'
-        rewritecond:
+      - comment: 'almost all to https'
+        rewrite_cond:
           - '%{ich-trickse}{REQUEST_URI} !^(/.\.html|/emm_webservice)$'
         rewrite_rule:
           - '^(.*)$ https://odt-daimler-com.pixelpark.net$1 [L,R=301]'
@@ -31,11 +30,9 @@ infra::profile::apache::pp_vhosts:
     proxy_pass:
       - { path: /, url: 'ajp://localhost:8009/' }
     directories:
-      - webservice:
-        provider: location
+      - provider: location
         path: '/emm_webservice'
         require:
           - 'ip 93.188.107.192/26'
           - 'ip 217.66.50.0/24'
           - 'ip 217.66.51.0/24'
-        ssl_verify_client: none