fix(avatar): align knowledge upload limit with production

This commit is contained in:
stefanfeng
2026-09-04 13:56:29 +08:00
parent 28553aba15
commit 6b7201e890
4 changed files with 41 additions and 9 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ http {
# Keep the application gateway aligned with the production edge gateway.
# Without this Nginx rejects ordinary PDF uploads with HTTP 413 before
# FastAPI can return its user-facing file-size validation message.
client_max_body_size 20m;
client_max_body_size 100m;
# SPA 兜底(hash 路由下深链接也可正常加载)
location / {