From e6ac34bde8d288a45e83fc6723a2bbe952f2622a Mon Sep 17 00:00:00 2001 From: Philipp Dormann Date: Mon, 11 Jan 2021 21:10:40 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20[tmp]=20-=20nginx.conf=20-=20dis?= =?UTF-8?q?able=20.js=20file=20caching?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nginx.conf b/nginx.conf index 36407b4b..7f7cb378 100644 --- a/nginx.conf +++ b/nginx.conf @@ -9,7 +9,7 @@ http { location / { try_files $uri $uri/ /index.html; } - location ~* \.(?:ico|css|js|gif|jpe?g|png)$ { + location ~* \.(?:ico|css|gif|jpe?g|png)$ { expires 1y; add_header Pragma public; add_header Cache-Control "public";