Welcome! Log In Create A New Profile

Advanced

Re: Problem request_timeout not working with proxy_next_upstream on proxy_connect_timeout but proxy_read_timeout

March 06, 2013 05:44AM
For beter understanding here is my config sniper

upstream super_upstream {
keepalive 128;
server be1 max_fails=45 fail_timeout=3s;
server be2 max_fails=45 fail_timeout=3s;
server be3 max_fails=45 fail_timeout=3s;
}

server {
server_name pytn.ru;
location ^~ /simple_requests {
proxy_read_timeout 2s;
proxy_send_timeout 2s;
proxy_connect_timeout 10ms;
proxy_next_upstream error timeout invalid_header http_500 http_502 http_503 http_504;
proxy_pass http://super_upstream;
}

location ^~ /very_heavy_requests {
send_timeout 60s;
proxy_read_timeout 60s;
proxy_send_timeout 60s;
proxy_connect_timeout 5ms;
proxy_next_upstream timeout;
proxy_pass http://super_upstream;
}
Subject Author Posted

Problem request_timeout not working with proxy_next_upstream on proxy_connect_timeout but proxy_read_timeout

yvlasov March 06, 2013 05:28AM

Re: Problem request_timeout not working with proxy_next_upstream on proxy_connect_timeout but proxy_read_timeout

yvlasov March 06, 2013 05:44AM

Re: Problem request_timeout not working with proxy_next_upstream on proxy_connect_timeout but proxy_read_timeout

Maxim Dounin March 06, 2013 07:40AM

Re: Problem request_timeout not working with proxy_next_upstream on proxy_connect_timeout but proxy_read_timeout

yvlasov March 07, 2013 08:47AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 68
Record Number of Users: 5 on July 11, 2016
Record Number of Guests: 271 on July 19, 2016
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready