file uploads, nginx, and ubuntu #47

Closed
opened 4 years ago by are0h · 1 comments
are0h commented 4 years ago (Migrated from koodu.ubiqueros.com)

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!

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!
are0h commented 4 years ago (Migrated from koodu.ubiqueros.com)

Nice catch. I'll add this to the reverse proxy template for both apache and nginx.

Nice catch. I'll add this to the reverse proxy template for both apache and nginx.
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: are0h/Fipamo#47
Loading…
There is no content yet.