]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
spk-spar-checker move filesmatch
authorAndreas Gerstenberg <gerstenberg@pixelpark.com>
Fri, 20 Oct 2017 09:26:35 +0000 (11:26 +0200)
committerAndreas Gerstenberg <gerstenberg@pixelpark.com>
Fri, 20 Oct 2017 09:26:35 +0000 (11:26 +0200)
customer/spk-spar-checker/test.yaml

index 866651a0fe92a593db140bc7d46a0fe92117d680..9bae481ac7c6ed56837efc6726b98bbb8f786c7e 100644 (file)
@@ -75,6 +75,11 @@ infra::profile::apache::pp_vhosts:
           - None
         directoryindex: 'index.html'
         custom_fragment: 'AddType text/plain .tmpl'
+        - provider: filesmatch
+          path: '\.(html|tmpl|js)$'
+          headers:
+            - 'set Cache-Control "no-cache, no-store, must-revalidate, max-age=0, proxy-revalidate, no-transform"'
+            - 'set Pragma "no-cache"'
         rewrites:
           - comment: 'frontend root rewrite'
             rewrite_cond:
@@ -104,11 +109,6 @@ infra::profile::apache::pp_vhosts:
               - '^(mstile-[0-9]{2,3}x[0-9]{2,3}.png)$ - [L]'
               - '^(opera_160.png)$ - [L]'
               - '.* /404.html [R=404,L]'
-        - provider: filesmatch
-          path: '\.(html|tmpl|js)$'
-          headers:
-            - 'set Cache-Control "no-cache, no-store, must-revalidate, max-age=0, proxy-revalidate, no-transform"'
-            - 'set Pragma "no-cache"'
       - provider: location
         path: '/'
         limit_except: