FIX: add CORS header for .woff2

This commit is contained in:
Régis Hanol 2015-03-27 13:30:18 +01:00
parent d9606bef9d
commit f036b23be5

View file

@ -80,7 +80,7 @@ server {
root $public; root $public;
add_header ETag ""; add_header ETag "";
location ~* \.(eot|ttf|woff|ico)$ { location ~* \.(eot|ttf|woff|woff2|ico)$ {
expires 1y; expires 1y;
add_header Cache-Control public; add_header Cache-Control public;
add_header Access-Control-Allow-Origin *; add_header Access-Control-Allow-Origin *;