fix: nginx 添加 client_max_body_size 200m 支持大文件上传
GraphRAG CI/CD / build-and-deploy (push) Successful in 2m29s

This commit is contained in:
2026-06-18 16:08:23 +08:00
parent d2f782e47e
commit 4f203e3b56
2 changed files with 10 additions and 2 deletions
+4
View File
@@ -121,6 +121,8 @@ server {
ssl_certificate_key /etc/letsencrypt/live/plfai.cn/privkey.pem;
ssl_protocols TLSv1.2 TLSv1.3;
client_max_body_size 200m;
location / {
proxy_pass http://${backend_ip}:8000;
proxy_set_header Host \$host;
@@ -146,6 +148,8 @@ server {
ssl_certificate_key /etc/letsencrypt/live/plfai.cn/privkey.pem;
ssl_protocols TLSv1.2 TLSv1.3;
client_max_body_size 200m;
location /api/ {
proxy_pass http://${backend_ip}:8000;
proxy_set_header Host \$host;