FIX: add CORS header for .woff2
This commit is contained in:
parent
d9606bef9d
commit
f036b23be5
|
@ -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 *;
|
||||||
|
|
Loading…
Reference in New Issue