How do I prevent a Gateway Timeout with FastCGI on Nginx
Proxy timeouts are well, for proxies, not for FastCGI… The directives that affect FastCGI timeouts are client_header_timeout, client_body_timeout and send_timeout. Edit: Considering what’s found on nginx wiki, the send_timeout directive is responsible for setting general timeout of response (which was bit misleading). For FastCGI there’s fastcgi_read_timeout which is affecting the FastCGI process response timeout.