fix(upload): 分片改 POST 并放宽 Nginx 反代,避免 PUT 大 body 断连

- 管理端分片请求改为 POST;后端同时保留 PUT
- /api/ 增加 proxy_request_buffering off;CORS Allow-Headers 略扩展

Made-with: Cursor
This commit is contained in:
whm
2026-04-13 15:09:31 +08:00
parent 0800982224
commit cce3d158d5
6 changed files with 8 additions and 3 deletions

View File

@@ -44,6 +44,7 @@ server {
proxy_send_timeout 86400s;
proxy_read_timeout 86400s;
proxy_buffering off;
proxy_request_buffering off;
}
location /admin/ {