fix: 安装统计分页再加固 + index.html 禁缓存

This commit is contained in:
root committed 2026-10-11 13:19:50 +08:00
1 parent 34b7c8aa23
commit c4b00cbf85
2 files changed
+16 -2

No files matched your search

+8 -1
View File
@@ -4,11 +4,18 @@ server {
server_name _;
root /var/www/public;
index index.php index.html;
index index.html index.php;
client_max_body_size 20M;
# 前端 SPA fallback
location = /index.html {
add_header Cache-Control "no-cache, no-store, must-revalidate";
add_header Pragma "no-cache";
expires 0;
try_files $uri =404;
}
location / {
try_files $uri $uri/ /index.html;
}