]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
spk-spar-checker add filesmatch
authorAndreas Gerstenberg <gerstenberg@pixelpark.com>
Thu, 12 Oct 2017 15:49:10 +0000 (17:49 +0200)
committerAndreas Gerstenberg <gerstenberg@pixelpark.com>
Thu, 12 Oct 2017 15:49:10 +0000 (17:49 +0200)
customer/spk-spar-checker/test.yaml

index 6b8eeb84ed31ffabb18c2c5140403718de1b2578..ab08ff7a07316d77aa0f8f18b93106480ed0e1e1 100644 (file)
@@ -142,6 +142,10 @@ infra::profile::apache::pp_vhosts:
           - comment: 'api index'
             rewrite_rule:
               - '^(.*)$ %%{ich-trickse}{ENV:BASE}/index.php [L]'
+      - provider: filesmatch
+        path: '\.(ttf|otf|eot|woff)$'
+        headers:
+          - 'always set Access-Control-Allow-Origin "*"'
     rewrites:
       - comment: 'http to https'
         rewrite_cond: