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

index 65bdd189253c56d73c102dee520f16bd670fcabf..1f15b5584731b063922f68a2860336865b7c0aec 100644 (file)
@@ -104,11 +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: 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: '/'
@@ -171,6 +172,7 @@ infra::profile::apache::pp_vhosts:
         path: '\.(ttf|otf|eot|woff|woff2)$'
         headers:
           - 'always set Access-Control-Allow-Origin "*"'
+
     rewrites:
       - comment: 'http to https'
         rewrite_cond: