Getting HTTP 413 errors - how do I fix 'Request Entity Too Large'? or Why am I seeing HTTP 413 and ho

22 Replies, 1067 Views

Hey! Had the same issue last week. You're on the right track with `client_max_body_size` in nginx, but did you restart nginx after changing it?

Also, check if there’s a hard limit in your PHP config (`upload_max_filesize` and `post_max_size`). Sometimes the http 413 error pops up because of that.

For a nicer error, you could use client-side checks before uploading—like JS to warn users if the file’s too big.

Messages In This Thread



Users browsing this thread: 1 Guest(s)