From 051fb5bb5bf2e287d4cf7cc13b097e31b7388af5 Mon Sep 17 00:00:00 2001 From: Sam Date: Sun, 1 Dec 2013 15:18:59 +1100 Subject: [PATCH] cors for fonts, so firefox stays happy --- config/nginx.sample.conf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/config/nginx.sample.conf b/config/nginx.sample.conf index e13774c08e9..8a5f2ac729b 100644 --- a/config/nginx.sample.conf +++ b/config/nginx.sample.conf @@ -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;