From 37681e9bc09b91c2750ccfad141435c11c6182c2 Mon Sep 17 00:00:00 2001 From: Andreas Gerstenberg Date: Mon, 16 Oct 2017 14:49:02 +0200 Subject: [PATCH] spk-spar-checker modify rewrites --- customer/spk-spar-checker/production.yaml | 4 +--- customer/spk-spar-checker/test.yaml | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/customer/spk-spar-checker/production.yaml b/customer/spk-spar-checker/production.yaml index 23c81987..caff7e5a 100644 --- a/customer/spk-spar-checker/production.yaml +++ b/customer/spk-spar-checker/production.yaml @@ -72,7 +72,7 @@ infra::profile::apache::pp_vhosts: rewrites: - comment: 'frontend root rewrite' rewrite_cond: - - '%{REQUEST_URI} ^/$' + - '%%{ich-trickse}{REQUEST_URI} ^/$' rewrite_rule: - '.* /index.html [END]' - comment: 'frontend rewrites' @@ -112,8 +112,6 @@ infra::profile::apache::pp_vhosts: requires: - 'valid-user' - 'env admin_ip_range' -# - provider: location -# path: '/api' - provider: location path: '/sfp' auth_type: Digest diff --git a/customer/spk-spar-checker/test.yaml b/customer/spk-spar-checker/test.yaml index bc8e6f84..8e2d7ce7 100644 --- a/customer/spk-spar-checker/test.yaml +++ b/customer/spk-spar-checker/test.yaml @@ -70,7 +70,7 @@ infra::profile::apache::pp_vhosts: rewrites: - comment: 'frontend root rewrite' rewrite_cond: - - '%{REQUEST_URI} ^/$' + - '%%{ich-trickse}{REQUEST_URI} ^/$' rewrite_rule: - '.* /index.html [END]' - comment: 'frontend rewrites' -- 2.39.5