Hey! Had the same issue last week. For nginx, you gotta set `client_max_body_size` in both the http AND server blocks, not just one.
Also, don’t forget to restart nginx after (`sudo systemctl restart nginx`). If you’re still getting the 413 status code, check if there’s a proxy (like Cloudflare) capping uploads.
For Apache, look for `LimitRequestBody` in your config.
Hope that helps!
Also, don’t forget to restart nginx after (`sudo systemctl restart nginx`). If you’re still getting the 413 status code, check if there’s a proxy (like Cloudflare) capping uploads.
For Apache, look for `LimitRequestBody` in your config.
Hope that helps!
