From 6814b3e19cd1b6a1fb1d7a21247f8f91d9638fe7 Mon Sep 17 00:00:00 2001 From: Matt Robenolt Date: Fri, 4 Oct 2013 21:32:45 +0300 Subject: [PATCH] Remove `font.css` reference. Close #6. --- conf/cross-domain-fonts.conf | 2 +- conf/expires.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/cross-domain-fonts.conf b/conf/cross-domain-fonts.conf index 12054f9..2624796 100644 --- a/conf/cross-domain-fonts.conf +++ b/conf/cross-domain-fonts.conf @@ -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. diff --git a/conf/expires.conf b/conf/expires.conf index 664b1ec..5168a87 100644 --- a/conf/expires.conf +++ b/conf/expires.conf @@ -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";