fix: nginx 添加 client_max_body_size 200m 支持大文件上传
GraphRAG CI/CD / build-and-deploy (push) Successful in 2m29s
GraphRAG CI/CD / build-and-deploy (push) Successful in 2m29s
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user