]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
spk-spar-checker modify rewrites
authorAndreas Gerstenberg <gerstenberg@pixelpark.com>
Mon, 16 Oct 2017 12:49:02 +0000 (14:49 +0200)
committerAndreas Gerstenberg <gerstenberg@pixelpark.com>
Mon, 16 Oct 2017 12:49:02 +0000 (14:49 +0200)
customer/spk-spar-checker/production.yaml
customer/spk-spar-checker/test.yaml

index 23c81987f55a768e1a8d76e79cd74d483e2267bf..caff7e5abac9c793ecc6e8a255f9f36e93fe0b80 100644 (file)
@@ -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
index bc8e6f8407b52a9d172853bafbd6dc833e2a8ddf..8e2d7ce767d19a916f7d4b8af21d12a8512fb00a 100644 (file)
@@ -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'