Nginx on Windows PHP fastcgi read timeouts

itpp2012 nginx-forum at nginx.us
Wed Jun 18 13:53:15 UTC 2014


c0nw0nk Wrote:
-------------------------------------------------------
> error_log  logs/error.log  crit;
> 
> Is my current setting should i change it to debug ?

No option is required to get error messages about backend issues.

Remove that first server {} block with the return 200, for fcgi try this;

            fastcgi_pass  web_rack;
            fastcgi_index index.php;
            include fastcgi_params;
            keepalive_timeout  600;
            keepalive_requests 500;
            proxy_http_version 1.1;
            proxy_ignore_client_abort on;
            fastcgi_param SCRIPT_FILENAME
$document_root$fastcgi_script_name;
            fastcgi_keep_conn on;
            expires 10s;

When you experience a slow page what are the php-cgi processes / mysql doing
? use processexplorer to find out.

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,250964,251003#msg-251003



More information about the nginx mailing list