From 7c70802ceec6bf810faa0c0dc1a63b3b6f4beab2 Mon Sep 17 00:00:00 2001 From: 12451 <12451@example.com> Date: Thu, 2 Jul 2026 17:50:04 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8DPMS=E9=9D=99=E6=80=81?= =?UTF-8?q?=E8=B5=84=E6=BA=90=E8=B7=AF=E5=BE=84=E9=97=AE=E9=A2=98=EF=BC=8C?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0assets=20location?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deploy/nginx/app.anzhizhichong.com.conf | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/deploy/nginx/app.anzhizhichong.com.conf b/deploy/nginx/app.anzhizhichong.com.conf index 4551f0c..43e1b37 100644 --- a/deploy/nginx/app.anzhizhichong.com.conf +++ b/deploy/nginx/app.anzhizhichong.com.conf @@ -39,7 +39,14 @@ server { return 301 /pms/; } - # PMS管理前端 + # PMS管理前端 - 静态资源 + location /pms/assets/ { + alias /data/pms/web/assets/; + expires 30d; + add_header Cache-Control "public, immutable"; + } + + # PMS管理前端 - 其他文件 location /pms/ { alias /data/pms/web/; try_files $uri $uri/ /pms/index.html;