following symlinks

jackdempsey nginx-forum at nginx.us
Fri Apr 3 18:33:59 MSD 2009


Igor Sysoev Wrote:
-------------------------------------------------------
> On Wed, Apr 01, 2009 at 10:04:13AM -0700, Michael
> Shadle wrote:
> 
> > 2009/4/1 Igor Sysoev :
> > > 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/
> 
>

Wonderful. It sounds like try_files is the better way to go. Will give it a try now, thanks!

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,677,782#msg-782






More information about the nginx mailing list