From dcbe5510d42c3dc5e93b68704a5fa24c88d4de69 Mon Sep 17 00:00:00 2001 From: 胤玄 <adoin@qq.com> Date: 星期三, 27 十二月 2023 14:28:37 +0800 Subject: [PATCH] fix: Docker 打包逻辑改进,彻底解决缓存问题 (#3473) --- nginx.conf | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/nginx.conf b/nginx.conf index 1e21a86..a0a405d 100644 --- a/nginx.conf +++ b/nginx.conf @@ -30,9 +30,10 @@ add_header 'Content-Length' 0; return 204; } - if ($request_filename ~* ^.*?.(html|htm|js)$) { - add_header Cache-Control no-cache; - } +# docker 鏀归�犱箣鍚庝笉鍐嶉渶瑕� +# if ($request_filename ~* ^.*?.(html|htm|js)$) { +# add_header Cache-Control no-cache; +# } } } } -- Gitblit v1.8.0