cors for fonts, so firefox stays happy
This commit is contained in:
parent
f5d905c215
commit
051fb5bb5b
|
@ -31,6 +31,12 @@ server {
|
|||
|
||||
location / {
|
||||
root $public;
|
||||
|
||||
location ~* \.(eot|ttf|woff)$ {
|
||||
add_header Access-Control-Allow-Origin *;
|
||||
expires 1y;
|
||||
add_header Cache-Control public;
|
||||
}
|
||||
|
||||
location ~ ^/assets/ {
|
||||
expires 1y;
|
||||
|
|
Loading…
Reference in New Issue