From f76221c41ce922394b68e5e4c159bd68448455f4 Mon Sep 17 00:00:00 2001 From: ErickSkrauch Date: Tue, 11 Oct 2016 11:28:10 +0300 Subject: [PATCH] Nginx woff2 as static file --- docker/nginx/account.ely.by.conf.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/nginx/account.ely.by.conf.template b/docker/nginx/account.ely.by.conf.template index ae9653f..eb63987 100644 --- a/docker/nginx/account.ely.by.conf.template +++ b/docker/nginx/account.ely.by.conf.template @@ -56,7 +56,7 @@ server { } # Раздача статики для frontend с указанием max-кэша. Сброс будет по #hash после ребилда webpackом - location ~* ^.+\.(jpg|jpeg|gif|png|svg|js|json|css|zip|rar|eot|ttf|woff|ico)$ { + location ~* ^.+\.(jpg|jpeg|gif|png|svg|js|json|css|zip|rar|eot|ttf|woff|woff2|ico)$ { root $frontend_path; expires max; etag off;