file uploads, nginx, and ubuntu #47

Closed
opened 2020-09-22 23:48:40 +02:00 by are0h · 1 comment
are0h commented 2020-09-22 23:48:40 +02:00 (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 2020-09-23 00:57:12 +02:00 (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 participant
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: projects/fipamo#47
No description provided.