]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
ODT - disable https for several ips
authorOliver Böttcher <oliver.boettcher@pixelpark.com>
Thu, 21 Sep 2017 13:16:41 +0000 (15:16 +0200)
committerOliver Böttcher <oliver.boettcher@pixelpark.com>
Thu, 21 Sep 2017 13:16:41 +0000 (15:16 +0200)
customer/mbvd-odt/odt-daimler-com.pixelpark.net.yaml

index 44bb334298ea2bc0e48f59e2272eb479e84d4d4e..02f646a47b4560c30f0ed6b7a5b6837902625bfc 100644 (file)
@@ -51,9 +51,8 @@ infra::profile::apache::pp_vhosts:
       - https:
         comment: 'almost all to https'
         rewrite_cond:
-          - "expr \"! %%{ich-trickse}{HTTP:X-Forwarded-For} -ipmatch '77.74.234.0/25'\" [OR]"
-          - "expr \"! %%{ich-trickse}{HTTP:X-Forwarded-For} -ipmatch '93.188.107.192/26'\" [OR]"
-          - '%%{ich-trickse}{REQUEST_URI} !^/.\.html'
+          - "expr \"! -R '77.74.234.0/25'\""
+          - "expr \"! -R '93.188.107.192/26'\""
         rewrite_rule:
           - '^(.*)$ https://odt.daimler.com$1 [L,R=301]'
     rewrites_ssl: