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

itpp2012 nginx-forum at
Fri Jun 22 23:00:20 UTC 2018

You may have to resort to Lua (openresty) and periodically perform via a sub
request a query which should indicate how fast an upstream is and decide
weather to take it offline (which also can be done with Lua).

Posted at Nginx Forum:,280259,280260#msg-280260

More information about the nginx mailing list