This commit is contained in:
2026-08-08 11:33:09 +08:00
parent cb0792963c
commit bc14ec7bd2
12 changed files with 59 additions and 4 deletions
+7
View File
@@ -12,6 +12,13 @@ server {
return 200 "ok\n";
}
location = /runtime-config.js {
add_header Cache-Control "no-cache, no-store, must-revalidate" always;
add_header Pragma "no-cache" always;
add_header Expires "0" always;
try_files $uri =404;
}
# 前端代码中的 API 前缀为 /api;保持原始路径转给 Gateway。
location /api/ {
client_max_body_size 12m;