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