From: Andreas Gerstenberg Date: Thu, 3 May 2018 13:36:21 +0000 (+0200) Subject: telekom-ehealth update rewrite_cond X-Git-Tag: v0.1.0~1158 X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=543001e6db9e3c3a488664c8b88ed9746383b8f4;p=pixelpark%2Fhiera.git telekom-ehealth update rewrite_cond --- 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]'