Hey! status code 413 is a pain, but here’s a checklist:
1. nginx: client_max_body_size in the right block?
2. PHP: post_max_size and upload_max_filesize match?
3. Restarted services after changes?
If you’re lazy like me, this tool helps visualize configs: https://nginxconfig.io/
Also, if you’re on Windows, watch out for line endings in config files. They’ve screwed me over before.
1. nginx: client_max_body_size in the right block?
2. PHP: post_max_size and upload_max_filesize match?
3. Restarted services after changes?
If you’re lazy like me, this tool helps visualize configs: https://nginxconfig.io/
Also, if you’re on Windows, watch out for line endings in config files. They’ve screwed me over before.
