proxy_connect_timeout 600;
proxy_send_timeout 600;
proxy_read_timeout 600;
send_timeout 600;
<IfModule mod_fcgid.c>
FcgidConnectTimeout 600
FcgidIdleTimeout 600
default_socket_timeout = 600
http {
keepalive_timeout 600s;
client_header_timeout 600s;
client_body_timeout 600s;
fastcgi_send_timeout 600s;
fastcgi_read_timeout 600s;
}