From f84b655b96490ec265744fe36c338368d3fbb6ee Mon Sep 17 00:00:00 2001 From: =?utf8?q?Oliver=20B=C3=B6ttcher?= Date: Thu, 21 Sep 2017 15:16:41 +0200 Subject: [PATCH] ODT - disable https for several ips --- customer/mbvd-odt/odt-daimler-com.pixelpark.net.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/customer/mbvd-odt/odt-daimler-com.pixelpark.net.yaml b/customer/mbvd-odt/odt-daimler-com.pixelpark.net.yaml index 44bb3342..02f646a4 100644 --- a/customer/mbvd-odt/odt-daimler-com.pixelpark.net.yaml +++ b/customer/mbvd-odt/odt-daimler-com.pixelpark.net.yaml @@ -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: -- 2.39.5