This commit is contained in:
2026-10-23 12:06:45 +08:00
parent a06f54489c
commit 23efe59874
5 changed files with 11 additions and 9 deletions
+2 -1
View File
@@ -8,7 +8,8 @@ server {
add_header Cache-Control "no-store" always;
return 200 "ok\n";
}
location /gateway-api/ {
# API优先于站点敏感文件正则,避免DRIVER_LICENSE被LICENSE规则误拦截。
location ^~ /gateway-api/ {
client_max_body_size 55m;
proxy_pass ${API_UPSTREAM}/api/;
proxy_http_version 1.1;