From 4f95f4a0a831f8dc02e80a5dd36ce00dbf6ab0fd Mon Sep 17 00:00:00 2001 From: sambufe Date: Fri, 3 Mar 2017 13:29:48 +0100 Subject: [PATCH] ffb orat live rewrite rule --- customer/fbb-orat/production.yaml | 5 +++++ customer/fbb-orat/test.yaml | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/customer/fbb-orat/production.yaml b/customer/fbb-orat/production.yaml index d07d035f..3a7f983d 100644 --- a/customer/fbb-orat/production.yaml +++ b/customer/fbb-orat/production.yaml @@ -52,6 +52,11 @@ site::profile::wordpress::projects: - ip 217.66.50 - ip 217.66.51 - ip 217.66.56 + rewrites: + - Theme: + comment: 'ORAT2017-121' + rewrite_rule: + - '^/wp-content/themes/berpp/$ / [R=301,L]' # wird im LB gesetzt # headers_ssl: # - 'always set Strict-Transport-Security "max-age=31556926" diff --git a/customer/fbb-orat/test.yaml b/customer/fbb-orat/test.yaml index 1b3e6d31..a2dad134 100644 --- a/customer/fbb-orat/test.yaml +++ b/customer/fbb-orat/test.yaml @@ -69,7 +69,7 @@ site::profile::wordpress::projects: - Theme: comment: 'ORAT2017-121' rewrite_rule: - - '^wp-content/themes/berpp/$ /' + - '^/wp-content/themes/berpp/$ / [R=301,L]' # wird im LB gesetzt # headers_ssl: # - 'always set Strict-Transport-Security "max-age=31556926" -- 2.39.5