I am working on a PHP application which sometimes requires large POST requests (HTML forms with a lot of fields). It works like a charm locally on Apache server but there is a problem on the production server which has nginx installed. Large POST requests are cut without throwing any errors. I think the problem is laying in nginx configuration but I am a programmer and not a server admin so I need your help. Thanks in advance for any idea what might be wrong.
For upload uri's adjust "1m" (MByte) to the value you need:
client_max_body_size 1m;
If you have long running apps (like reports) you maybe need more than "60" seconds to answer:
send_timeout 60;
[proxy_read_timeout 60;] <- if you use proxy_pass