Yup, classic http error 413. It’s not your server *hating* big files—it’s just being overly cautious.
For Nginx, the `client_max_body_size` is the culprit. Default is like 1MB, which is laughable.
But also, if you’re behind a reverse proxy (like Cloudflare), check *their* limits too. Some CDNs block large uploads by default.
Here’s a dumb thing I did once: Forgot to check the *frontend* app’s limits. If you’re using something like Next.js, the API route might need `bodyParser` tweaks.
For Nginx, the `client_max_body_size` is the culprit. Default is like 1MB, which is laughable.
But also, if you’re behind a reverse proxy (like Cloudflare), check *their* limits too. Some CDNs block large uploads by default.
Here’s a dumb thing I did once: Forgot to check the *frontend* app’s limits. If you’re using something like Next.js, the API route might need `bodyParser` tweaks.
