From 5ae66b41ad09ffd932a119b7084e995c789fb81d Mon Sep 17 00:00:00 2001 From: Andreas Gerstenberg Date: Fri, 20 Oct 2017 11:10:54 +0200 Subject: [PATCH] spk-spar-checker update rewrites --- customer/spk-spar-checker/test.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/customer/spk-spar-checker/test.yaml b/customer/spk-spar-checker/test.yaml index f50dd269..7db26246 100644 --- a/customer/spk-spar-checker/test.yaml +++ b/customer/spk-spar-checker/test.yaml @@ -83,10 +83,11 @@ infra::profile::apache::pp_vhosts: - '.* /index.html [END]' - comment: 'frontend rewrites' rewrite_rule: - - '^code/(modernizr-custom.js|spar-checker-min.css|spar-checker-min.js|selection.json)$ - [L]' - '^code/(modernizr-custom|spar-checker-min|selection)-v[0-9]{1,4}\.(js|css|json)$ /code/$1.$2 [END]' + - '^code/(modernizr-custom.js|spar-checker-min.css|spar-checker-min.js|selection.json)$ - [L]' - '^media/(.*)-v[0-9]{1,4}\.(svg|jpg|png|gif)$ /media/$1.$2 [END]' - '^media/(.*)\.(svg|jpg|png|gif)$ - [L]' + - '^code/(.*)-v[0-9]{1,4}\.(tmpl|eot|svg|ttf|woff|woff2)$ /code/$1.$2 [END]' - '^code/.*\.(tmpl|eot|svg|ttf|woff|woff2)$ - [L]' - '^((401|403|404|500)\.html)$ - [L]' - '^(favicon-[0-9]{2}.ico)$ - [L]' -- 2.39.5