July 27, 2009 04:47AM
On Tue, Jun 23, 2009 at 10:48:41AM -0400, MortenP wrote:

> Is it possible to have nginx proxy to upstream_a and if that fails then default to upstream_b?
>
> What I would like to accomplish is to have a Varnish upstream, and if that's down, then nginx should just proxy to the application backend directly.

upstream ups {
server upstream_a;
server upstream_b backup;
}

However, probably you may omit Varnish and use nginx's proxy cache.


--
Igor Sysoev
http://sysoev.ru/en/
Subject Author Posted

Upstream fail over?

MortenP June 23, 2009 10:48AM

Re: Upstream fail over?

merlin corey June 26, 2009 05:33AM

Re: Upstream fail over?

Mitchua Mitchua July 26, 2009 10:42AM

Re: Upstream fail over?

Maxim Dounin July 26, 2009 04:56PM

Re: Upstream fail over?

Marcus Clyne July 26, 2009 09:30PM

Re: Upstream fail over?

Mahiti Support July 31, 2009 09:11AM

Re: Upstream fail over?

Maxim Dounin July 31, 2009 09:38AM

Re: Upstream fail over?

Mitchua Mitchua July 31, 2009 01:39PM

Re: Upstream fail over?

Mitchua Mitchua July 31, 2009 02:00PM

Re: Upstream fail over?

Maxim Dounin July 31, 2009 03:52PM

Re: Upstream fail over?

mitchua August 02, 2009 12:10PM

Re: Upstream fail over?

Igor Sysoev July 27, 2009 04:47AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 197
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready