From: Andreas Gerstenberg Date: Fri, 20 Oct 2017 09:10:54 +0000 (+0200) Subject: spk-spar-checker update rewrites X-Git-Tag: v0.1.0~2254 X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=5ae66b41ad09ffd932a119b7084e995c789fb81d;p=pixelpark%2Fhiera.git spk-spar-checker update rewrites --- 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]'