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

index 80a752a55c8a347715a51e59a36345c8fcaff70b..5283fd79d03c15d2804c4de4f5fa0db2f57c481d 100644 (file)
@@ -75,11 +75,6 @@ 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:
@@ -109,6 +104,12 @@ 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: