Hi,
Search the manual for the following directives:
http {
[..]
client_header_timeout 10m;
client_body_timeout 10m;
send_timeout 10m;
fastcgi_read_timeout 600;
fastcgi_send_timeout 600;
}
Then experiment and specify values that are appropriate for your server or virtual host.
Andrejs