diff --git a/docker/.env b/docker/.env index f8ad038a18..89d88733c8 100644 --- a/docker/.env +++ b/docker/.env @@ -128,6 +128,7 @@ TIMEZONE='Asia/Shanghai' # The maximum file size for each uploaded file, in bytes. # You can uncomment this line and update the value if you wish to change the 128M file size limit # MAX_CONTENT_LENGTH=134217728 +# After making the change, ensure you update `client_max_body_size` in nginx/nginx.conf correspondingly. # The log level for the RAGFlow's owned packages and imported packages. # Available level: diff --git a/docker/README.md b/docker/README.md index 5b95803fb0..348942941d 100644 --- a/docker/README.md +++ b/docker/README.md @@ -120,7 +120,7 @@ The [.env](./.env) file contains important environment variables for Docker. ### Maximum file size - `MAX_CONTENT_LENGTH` - The maximum file size for each uploaded file, in bytes. You can uncomment this line if you wish to change the 128M file size limit. Please also update `client_max_body_size` in nginx/nginx.conf correspondingly. + The maximum file size for each uploaded file, in bytes. You can uncomment this line if you wish to change the 128M file size limit. After making the change, ensure you update `client_max_body_size` in nginx/nginx.conf correspondingly. ## 🐋 Service configuration diff --git a/helm/values.yaml b/helm/values.yaml index 3eaafc48e7..e690bea273 100644 --- a/helm/values.yaml +++ b/helm/values.yaml @@ -60,6 +60,7 @@ env: # The maximum file size for each uploaded file, in bytes. # You can uncomment this line and update the value if you wish to change 128M file size limit # MAX_CONTENT_LENGTH: "134217728" + # After making the change, ensure you update `client_max_body_size` in nginx/nginx.conf correspondingly. ragflow: deployment: