Upstream fail over?

Mitchua Mitchua lists at ruby-forum.com
Fri Jul 31 21:39:13 MSD 2009


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?
> 
> Vishnu

Sorry, bad copy/paste job ;)  Those are correct in the config I'm using.

Any ideas?  Does that look right?
-- 
Posted via http://www.ruby-forum.com/.





More information about the nginx mailing list