From: Andreas Gerstenberg Date: Mon, 16 Oct 2017 12:49:02 +0000 (+0200) Subject: spk-spar-checker modify rewrites X-Git-Tag: v0.1.0~2314 X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=37681e9bc09b91c2750ccfad141435c11c6182c2;p=pixelpark%2Fhiera.git spk-spar-checker modify rewrites --- 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'