failover to the next upstream server if one of the servers is slow

ebondar nginx-forum at forum.nginx.org
Fri Jun 22 23:31:44 UTC 2018


Thanks itpp2012, I'll look at LUA

if I understand correctly, we can not specify the timeout of the session to
upstream the server, initiate a timeout error, and force requests to move to
another server?

 proxy_read_timeout 1;
-> proxy_next_upstream     error timeout

Posted at Nginx Forum: https://forum.nginx.org/read.php?2,280259,280261#msg-280261



More information about the nginx mailing list