From 07a306a6f405ab3668569e1a80ac032858ef39a1 Mon Sep 17 00:00:00 2001 From: Fedor Katurov Date: Wed, 2 Nov 2022 15:14:14 +0600 Subject: [PATCH] removed cache for css and js --- docker/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/nginx.conf b/docker/nginx.conf index 5e7d76a..880808b 100644 --- a/docker/nginx.conf +++ b/docker/nginx.conf @@ -16,7 +16,7 @@ http { gzip_types text/plain application/xml application/javascript; ## All static files will be served directly. - location ~* ^.+\.(?:css|cur|js|jpe?g|gif|htc|ico|png|xml|otf|ttf|eot|woff|woff2|svg)$ { + location ~* ^.+\.(?:cur|jpe?g|gif|htc|ico|png|xml|otf|ttf|eot|woff|woff2|svg)$ { access_log off; expires 1d; add_header Cache-Control public;