Saturday, 29 March 2014

Increased the proxy timeout settings in nginx for a single domain.

Copied the proxy.inc to proxy1.inc and increased the timeout values  and buffer size limits

proxy_connect_timeout 500s;
proxy_send_timeout  2000;
proxy_read_timeout  2000;
proxy_buffer_size    128k;
proxy_busy_buffers_size 128k;
proxy_temp_file_write_size 128k;

Included this proxy1.inc in the domains vhost file instead of proxy.inc.

No comments:

Post a Comment