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

Add support for images larger than 500 KB #3

Closed
sepulzera opened this issue Feb 18, 2022 · 2 comments
Closed

Add support for images larger than 500 KB #3

sepulzera opened this issue Feb 18, 2022 · 2 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@sepulzera
Copy link

sepulzera commented Feb 18, 2022

It was reported multiple times that with the default setup only images with a size up to 500 KB can be uploaded.

https://forums.unraid.net/topic/92752-support-openeats-corneliousjd-repo/?do=findComment&comment=898693

It seems to be caused by nginx. Needs investigation.

@sepulzera sepulzera added this to the v3.0.0 milestone May 20, 2022
@sepulzera sepulzera self-assigned this May 22, 2022
@sepulzera sepulzera added the enhancement New feature or request label May 22, 2022
@sepulzera
Copy link
Author

Added client_max_body_size 0; to the nginx configuration, to allow the upload for any image size.

@sepulzera
Copy link
Author

One can disable the size limit in their nginx configuration. For the server block or api location block, add:
client_max_body_size 0;
to disable the limit completely, or
client_max_body_size 5M;
to set the limit to 5 MB (for example).

sepulzera added a commit to ownrecipes/ownrecipes-web that referenced this issue May 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

1 participant