Strange results when chaining try_files
Jeff Waugh
jdub at bethesignal.org
Sun Nov 8 15:08:05 MSK 2009
<quote who="Maxim Dounin">
> Just a side note: ${request_uri}index.html should do the trick.
Ah, nice! Thanks.
> Well, it sounds somewhat funny. You tried to rewrite config to
> use try_files instead of if's and fall into one of if tarpits. :)
Good lord. ;-) Thanks heaps for your explanation -- looks like using rewrite
for the supercache file ends up being the neatest solution... the error_page
one just feels icky to me. :-)
(If ever there were a list of posts documenting the "Zen of Nginx", this one
easily qualifies!)
Thanks again,
- Jeff
--
linux.conf.au 2010: Wellington, NZ http://www.lca2010.org.nz/
"A 'lame' server is a server that is SUPPOSED to be authoritative, but,
when asked, says: 'Me? I know nothing, I'm from Madrid!'" - Ralf
Hildebrandt
More information about the nginx
mailing list