refactor(docker): 修改nginx配置取消上传文件大小限制

This commit is contained in:
zstar 2025-05-19 15:47:41 +08:00
parent 725bde4449
commit 30c0c9859b
2 changed files with 8 additions and 2 deletions

View File

@ -26,7 +26,7 @@ http {
keepalive_timeout 65;
#gzip on;
client_max_body_size 128M;
client_max_body_size 0;
include /etc/nginx/conf.d/ragflow.conf;
}

View File

@ -45,6 +45,12 @@
## 问题 2设置为gpu解析时提示缺少模型文件paddleocr_torch/ch_PP-OCRv4_rec_server_doc_infer.pth is not existed。
**回答:** 本地跑一下mineru的gpu解析把相应的模型文件拷贝进容器即可。
**回答:** 本地跑一下mineru的gpu解析把相应的模型文件拷贝进容器即可复制命令
```c
docker cp ch_PP-OCRv4_rec_server_doc_infer.pth
ragflowplus-management-backend
:/root/.cache/huggingface/hub/models-opendatalab--PDF.Extract-Kit-1.0/snapshots/782e787d46ed9b52253af6c1f69cdfcc76583e8d/models/OCR/paddleocr_torch/ch_PP-OCRv4_rec_server_doc_infer.pth
```
*如有更多问题,欢迎在 GitHub 上提交 Issue。*