mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
Update document: how upload file large than 128MB (#3791)
### What problem does this PR solve? As title. ### Type of change - [x] Documentation Update --------- Signed-off-by: Jin Hai <haijin.chn@gmail.com> Co-authored-by: writinwaters <93570324+writinwaters@users.noreply.github.com>
This commit is contained in:
@ -331,14 +331,13 @@ Ensure that you update the **MAX_CONTENT_LENGTH** environment variable:
|
||||
1. In **ragflow/docker/.env**, uncomment environment variable `MAX_CONTENT_LENGTH`:
|
||||
|
||||
```
|
||||
MAX_CONTENT_LENGTH=128000000
|
||||
MAX_CONTENT_LENGTH=176160768 # 168MB
|
||||
```
|
||||
|
||||
2. Update **docker-compose.yml**:
|
||||
2. Update **ragflow/docker/nginx/nginx.conf**:
|
||||
|
||||
```
|
||||
environment:
|
||||
- MAX_CONTENT_LENGTH=${MAX_CONTENT_LENGTH}
|
||||
client_max_body_size 168M
|
||||
```
|
||||
|
||||
3. Restart the RAGFlow server:
|
||||
|
||||
Reference in New Issue
Block a user