From 6a6d3dd3943791ceca28ce6ecfcb0f47dd3d7c4a Mon Sep 17 00:00:00 2001 From: huang Date: Wed, 8 Apr 2026 11:20:48 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D:=20nginx=20=E7=A6=81?= =?UTF-8?q?=E6=AD=A2=20index.html=20=E7=BC=93=E5=AD=98=EF=BC=8C=E9=98=B2?= =?UTF-8?q?=E6=AD=A2=E9=83=A8=E7=BD=B2=E5=90=8E=E8=B5=84=E6=BA=90=20404?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus --- docker/nginx.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docker/nginx.conf b/docker/nginx.conf index 94468c2..8e6f57d 100644 --- a/docker/nginx.conf +++ b/docker/nginx.conf @@ -19,6 +19,9 @@ server { location / { try_files $uri $uri/ /index.html; + add_header Cache-Control "no-cache, no-store, must-revalidate"; + add_header Pragma "no-cache"; + add_header Expires "0"; } location ~* \.(js|css|png|jpg|jpeg|gif|ico|svg|woff|woff2|ttf|eot)$ {