file uploads, nginx, and ubuntu
#47
Closed
opened 4 years ago by are0h
·
1 comments
Loading…
Reference in New Issue
There is no content yet.
Delete Branch '%!s(<nil>)'
Deleting a branch is permanent. It CANNOT be undone. Continue?
During installation and setup of the beta-release branch, I ran into an issue where I was receiving
413 request entity too large
errors when trying to upload photos.I ended up tracing the problem back to the nginx reverse proxy, and resolved it by adding the line:
client_max_body_size 20M;
to the server block of the nginx config for the site.
This was using a current install of nginx on ubuntu 20.04.1.
Not sure if it should be added to the docs or the wiki or both or neither, but figured I should mention it in case anyone else runs into this problem.
Thanks for the new blogging platform!
Nice catch. I'll add this to the reverse proxy template for both apache and nginx.