Possible Duplicate:
How do I prevent a Gateway Timeout with Nginx
I'm using an existing SOAP API for importing data via XML. Sometimes while the XML is too large I get a 504 gateway timeout after 60 seconds.
I've tried to set fastcgi_read_timeout to 300 in the nginx.conf but it doesnt work. I've changed maximum_execution_time to 3600
Somebody an idea how I can change the timeout?
You need to setup send_timeout because this specifies the response timeout to the client.
send_timeout 300
I think this is the case because send_timeout applies to client-read operations which is exactly what you are trying to do.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With