From 543001e6db9e3c3a488664c8b88ed9746383b8f4 Mon Sep 17 00:00:00 2001 From: Andreas Gerstenberg Date: Thu, 3 May 2018 15:36:21 +0200 Subject: [PATCH] telekom-ehealth update rewrite_cond --- .../www-ehealth-telematik-com.pixelpark.net.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/customer/telekom-ehealth/www-ehealth-telematik-com.pixelpark.net.yaml b/customer/telekom-ehealth/www-ehealth-telematik-com.pixelpark.net.yaml index bc98ff88..52ed0196 100644 --- a/customer/telekom-ehealth/www-ehealth-telematik-com.pixelpark.net.yaml +++ b/customer/telekom-ehealth/www-ehealth-telematik-com.pixelpark.net.yaml @@ -49,6 +49,8 @@ infra::profile::wordpress::projects: - 'HTTPS on HTTPS=on' rewrites: - comment: 'Rewrite auf Hauptdomain' + rewrite_cond: + - '%%{ich-trickse}{REMOTE_ADDR} !217.66.51' rewrite_rule: - '^(.*)$ http://www.telekom.de/telematikinfrastruktur [R=301,L]' -- 2.39.5