From f036b23be59e21f33466d7ca332401d507bf1062 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Hanol?= Date: Fri, 27 Mar 2015 13:30:18 +0100 Subject: [PATCH] FIX: add CORS header for .woff2 --- 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 7ff30b9dfd2..0e6a6c5f549 100644 --- a/config/nginx.sample.conf +++ b/config/nginx.sample.conf @@ -80,7 +80,7 @@ server { root $public; add_header ETag ""; - location ~* \.(eot|ttf|woff|ico)$ { + location ~* \.(eot|ttf|woff|woff2|ico)$ { expires 1y; add_header Cache-Control public; add_header Access-Control-Allow-Origin *;