]> 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 11:03:33 +0000 (13:03 +0200)
committerOliver Böttcher <oliver.boettcher@pixelpark.com>
Thu, 21 Sep 2017 11:03:33 +0000 (13:03 +0200)
customer/mbvd-odt/odt-daimler-com.pixelpark.net.yaml

index ec78a0faefbc31435dffaacc134d8250d0067754..d827ee35c0d0f96bedda0ad12ed0659a44ed5261 100644 (file)
@@ -51,8 +51,8 @@ infra::profile::apache::pp_vhosts:
       - https:
         comment: 'almost all to https'
         rewrite_cond:
-          - 'expr \"-R \'77.74.234.64/26\'\" [OR]'
-          - 'expr \"-R \'93.188.107.192/26\'\" [OR]'
+          - "expr \"! -R '77.74.234.64/26'\" [OR]"
+          - "expr \"! -R '93.188.107.192/26'\" [OR]"
           - '%%{ich-trickse}{REQUEST_URI} !^/.\.html'
         rewrite_rule:
           - '^(.*)$ https://odt.daimler.com$1 [L,R=301]'