From 7b22a9a7b68da51a79615ed07665d30aa3e9efcc Mon Sep 17 00:00:00 2001 From: txai-dev Date: Sun, 13 Sep 2026 00:38:39 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20H5=20index.html=20no-cache=20=E5=A4=B4?= =?UTF-8?q?=EF=BC=88=E9=81=BF=E5=85=8D=E5=8F=91=E7=89=88=E5=90=8E=E6=97=A7?= =?UTF-8?q?=E9=A6=96=E9=A1=B5=E7=BC=93=E5=AD=98=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deploy/nginx/h5.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/deploy/nginx/h5.conf b/deploy/nginx/h5.conf index 6059bdb..9490a74 100644 --- a/deploy/nginx/h5.conf +++ b/deploy/nginx/h5.conf @@ -3,6 +3,9 @@ server { server_name _; root /usr/share/nginx/html; index index.html; + location = /index.html { + add_header Cache-Control "no-cache"; + } location / { try_files $uri $uri/ /index.html; }