Merge branch 'dev' into release
Storage Persistence Guard / storage-persistence-audit (pull_request) Has been cancelled

# Conflicts:
#	nginx/nginx.conf
This commit is contained in:
Cheng Zhou
2026-06-23 17:22:03 +08:00
481 changed files with 64227 additions and 15291 deletions
+12
View File
@@ -42,6 +42,17 @@ http {
add_header Cache-Control "public, max-age=86400" always;
}
location = /index.html {
try_files /index.html =404;
add_header Cache-Control "no-store, no-cache, must-revalidate" always;
}
location /assets/ {
try_files $uri =404;
add_header Cache-Control "public, max-age=31536000, immutable" always;
}
location ~* (^|/)(\.git|\.env($|[./_-])|wp-config\.php|config\.php|database\.yml|backup($|[._/-])) {
access_log off;
log_not_found off;
@@ -66,6 +77,7 @@ http {
location / {
try_files $uri $uri/ /index.html;
add_header Cache-Control "no-store, no-cache, must-revalidate" always;
}
}
}