diff --git a/docker/.env b/docker/.env index f8ad038a1..89d88733c 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 5b95803fb..348942941 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 3eaafc48e..e690bea27 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: