From d13b5622c7ba111beb79ae701fb1d4a43ee1f427 Mon Sep 17 00:00:00 2001 From: jxxghp Date: Sun, 9 Jun 2024 08:04:53 +0800 Subject: [PATCH] remove js/css cache --- nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nginx.conf b/nginx.conf index c040df02..93d0436c 100644 --- a/nginx.conf +++ b/nginx.conf @@ -41,7 +41,7 @@ http { try_files $uri $uri/ /index.html; } - location ~* \.(js|css|png|jpg|jpeg|gif|ico|svg)$ { + location ~* \.(png|jpg|jpeg|gif|ico|svg)$ { # 静态资源 expires 1y; add_header Cache-Control "public, immutable";