Forum: NGINX How to... - tiered failover?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Nginx Forum (Guest)
on 2009-03-14 17:55
(Received via mailing list)
From "tiered failover?" at http://forum.nginx.org/showthread.php?t=14

***************
I have a setup like this:

nginx  -> http cache -> site  ||  remote site

I want nginx to ALWAYS proxy to the cache, but if and only if the cache
is down to skip it and proxy directly to my site.  If and only if the
cache and the site are down proxy to a remote site with limited
bandwidth.

I dont see how to do this with nginx.  There is round robin and weighted
round robin but this isn't what I need.  I need tiered failover.

Does anyone know how to configure this?
***************

Posted by ohenry
This topic is locked and can not be replied to.