This question about Configuration: Asked
upload attachment yields 413 Request Entity Too Large
Using Foswiki docker from dockerhub, when I'm trying to attach a 5.8MB attachment (Foswiki upload specifying max size of 10000KB)
I get nginx error
413 Request Entity Too Large
Please advise how to fix persistently.
--
DanB - 22 Mar 2020
Hi Dan,
I have no opportunity to reproduce your reported issue (I am using Apache). But...
Google "nginx 413 Request Entity Too Large" Leads me to:
https://www.cyberciti.biz/faq/linux-unix-bsd-nginx-413-request-entity-too-large/
The link suggests that nginx can restrict the upload size from a client with:
# set client body size to 2M #
client_max_body_size 2M;
Check that setting and increase if necessary. It may solve your problem.
--
BramVanOosterhout - 27 Mar 2020