From b1fa94b72508d606a7fcac0e99d5f6786a9176d3 Mon Sep 17 00:00:00 2001 From: Luyus <2593026969@qq.com> Date: Sun, 11 Jan 2026 15:25:23 +0800 Subject: [PATCH] Luyus --- nginx.conf | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/nginx.conf b/nginx.conf index 653da4d..95ded6d 100644 --- a/nginx.conf +++ b/nginx.conf @@ -27,15 +27,3 @@ server { gzip_types text/plain text/css application/json application/javascript text/xml application/xml; gzip_min_length 1024; } - - # 禁用缓存 index.html - location = /index.html { - expires -1; - add_header Cache-Control "no-cache, no-store, must-revalidate"; - } - - # Gzip 压缩 - gzip on; - gzip_types text/plain text/css application/json application/javascript text/xml application/xml; - gzip_min_length 1024; -}