Yo! status code 413 is the worst. Had this happen last week.
Turns out, my load balancer was the culprit. Even though nginx was set right, the LB had its own limits. Check *every* layer between you and the server.
Also, Cloudflare can mess with upload sizes if you’re using it. Their default max is 100MB.
Pro tip: Use curl with -v to see exactly where the request dies. Super helpful for debugging.
Turns out, my load balancer was the culprit. Even though nginx was set right, the LB had its own limits. Check *every* layer between you and the server.
Also, Cloudflare can mess with upload sizes if you’re using it. Their default max is 100MB.
Pro tip: Use curl with -v to see exactly where the request dies. Super helpful for debugging.
