Getting 'Error 413 - Request Entity Too Large' – How Do I Fix This? or What's Causing 'Error 413' and

16 Replies, 1270 Views

Hey! Had the same issue last week. error 413 is a pain, but for nginx, you can tweak the `client_max_body_size` in your config file.

Just open your nginx config (usually in `/etc/nginx/nginx.conf`) and add this inside the `http` or `server` block:
`client_max_body_size 100M;` (or whatever size you need).

Don’t forget to restart nginx after (`sudo systemctl restart nginx`). If you’re on shared hosting, you might need to contact support tho.

Messages In This Thread



Users browsing this thread: 1 Guest(s)