cors for fonts, so firefox stays happy

This commit is contained in:
Sam 2013-12-01 15:18:59 +11:00
parent f5d905c215
commit 051fb5bb5b
1 changed files with 6 additions and 0 deletions

View File

@ -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;