parent
508738ea7f
commit
6814b3e19c
|
@ -1,5 +1,5 @@
|
|||
# Cross domain webfont access
|
||||
location ~* \.(?:ttf|ttc|otf|eot|woff|font.css)$ {
|
||||
location ~* \.(?:ttf|ttc|otf|eot|woff)$ {
|
||||
add_header "Access-Control-Allow-Origin" "*";
|
||||
|
||||
# Also, set cache rules for webfonts.
|
||||
|
|
|
@ -36,7 +36,7 @@ location ~* \.(?:css|js)$ {
|
|||
|
||||
# WebFonts
|
||||
# If you are NOT using cross-domain-fonts.conf, uncomment the following directive
|
||||
# location ~* \.(?:ttf|ttc|otf|eot|woff|font.css)$ {
|
||||
# location ~* \.(?:ttf|ttc|otf|eot|woff)$ {
|
||||
# expires 1M;
|
||||
# access_log off;
|
||||
# add_header Cache-Control "public";
|
||||
|
|
Loading…
Reference in New Issue