Laurence Rowe wrote:
I would take a look at HAProxy which has better support for this use
case, allowing for requests to be retried against another server if
their associated backend is down.
I would agree that if you're just wanting to do proxying, then HAProxy
is probably a better way to go, however the above is also possible in
Nginx using upstreams.
nginx mailing list