file uploads, nginx, and ubuntu #47
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. 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.