Directive proxy_next_upstream doesn't work?

defage nginx-forum at
Thu Dec 29 09:07:41 UTC 2011

you mean at that moment all of upstream server has to tried,and it
reponse 504? but at that moment only one app server's log throw error
A part of access_log like:
10.001 10.001 /cas/login 504
10.001 10.001 /cas/login 504

If pass to all servers, the log is like below:?
10.001 10.001 /cas/login,,, 504

the problem is my app server 's log show ,at that moment only one server
of upstream have 504 error.

Posted at Nginx Forum:,220648,220659#msg-220659

More information about the nginx mailing list