following symlinks

Igor Sysoev is at rambler-co.ru
Wed Apr 1 21:03:54 MSD 2009


On Wed, Apr 01, 2009 at 10:04:13AM -0700, Michael Shadle wrote:

> 2009/4/1 Igor Sysoev <is at rambler-co.ru>:
> > You should get http://sysoev.ru/nginx/patch.try_files.0.6.35.5
> > and use
> >
> >     location / {
> >         try_files   $uri  $uri/index.html $uri.html  @rails;
> >     }
> >
> >     location @rails {
> >         proxy_pass  http://site-here;
> >     }
> 
> Exactly.
> 
> try_files was going to be what I was going to say the minute I saw all
> those checks.
> 
> Also - how about just upgrading? 0.7.x is just as stable for us basically :)

I'm going to release tomorrow 0.6.36 with try_files.


-- 
Igor Sysoev
http://sysoev.ru/en/





More information about the nginx mailing list