Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File Upload Failures Persist Until NGINX_CLIENT_MAX_BODY_SIZE Is Adjusted Alongside .env Configuration #13053

Open
4 tasks done
kevintsai1202 opened this issue Jan 26, 2025 · 0 comments
Assignees
Labels
📚 documentation Improvements or additions to documentation

Comments

@kevintsai1202
Copy link

Self Checks

  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

Provide a description of requested docs changes

After adjusting the file size limits in the .env file, uploads still failed with errors. The issue was resolved only after modifying the NGINX_CLIENT_MAX_BODY_SIZE configuration.

Recommendation:
The "Environment Variables Explanation" documentation should explicitly note that in addition to the following parameters affecting file upload limits:
UPLOAD_FILE_SIZE_LIMIT
UPLOAD_IMAGE_FILE_SIZE_LIMIT
UPLOAD_VIDEO_FILE_SIZE_LIMIT
UPLOAD_AUDIO_FILE_SIZE_LIMIT
WORKFLOW_FILE_UPLOAD_LIMIT

the NGINX_CLIENT_MAX_BODY_SIZE must also be adjusted accordingly. Failure to update this Nginx parameter may result in persistent upload errors, even if other limits are correctly configured.

Image
Image
Image

@dosubot dosubot bot added the 📚 documentation Improvements or additions to documentation label Jan 26, 2025
@crazywoola crazywoola self-assigned this Jan 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📚 documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants