From 97dd560d8456e54fef6c0c40729b66e43cbc40ff Mon Sep 17 00:00:00 2001 From: Robin Ward Date: Thu, 23 Jan 2014 10:40:58 -0500 Subject: [PATCH] Allow CORS on .ico files. Should help with Favcount.js --- config/nginx.sample.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/nginx.sample.conf b/config/nginx.sample.conf index d6360c805..e72ca1489 100644 --- a/config/nginx.sample.conf +++ b/config/nginx.sample.conf @@ -45,7 +45,7 @@ server { location / { root $public; - location ~* \.(eot|ttf|woff)$ { + location ~* \.(eot|ttf|woff|ico)$ { add_header Access-Control-Allow-Origin *; expires 1y; add_header Cache-Control public;