[FORUM] How to... - tiered failover?

Nginx Forum forum.nginx.org at gmail.com
Sat Mar 14 18:44:59 MSK 2009


>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





More information about the nginx mailing list