Upstream fail over?

Maxim Dounin mdounin at mdounin.ru
Fri Jul 31 17:38:30 MSD 2009


Hello!

On Fri, Jul 31, 2009 at 03:11:52PM +0200, Mahiti Support wrote:

> Mitchua Mitchua wrote:
> > > 
> > I tried a config like this on 0.8.6 and I found that all requests ended 
> > up going to the @application proxy, skipping the @varnish proxy 
> > entirely. Am I doing something wrong?
> > 
> > Here's a sample of my config:
> > 
> > 
> >     location /
> >   {
> >     try_files @vanish @origin;
> >   }
> > 
> > Thanks!
> 
> Hi,
> 
> You seem to have put it as @vanish instead of @varnish.
> Is that causing you the issue?

No.  It just incorrect.  See my answer for details.

Maxim Dounin





More information about the nginx mailing list