From: Andreas Gerstenberg Date: Fri, 20 Oct 2017 09:26:35 +0000 (+0200) Subject: spk-spar-checker move filesmatch X-Git-Tag: v0.1.0~2246 X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=0406429f60f559ea64fd6d35c224a52bbcd81168;p=pixelpark%2Fhiera.git spk-spar-checker move filesmatch --- diff --git a/customer/spk-spar-checker/test.yaml b/customer/spk-spar-checker/test.yaml index 866651a0..9bae481a 100644 --- a/customer/spk-spar-checker/test.yaml +++ b/customer/spk-spar-checker/test.yaml @@ -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: