Strange try_files behaviour
mdounin at mdounin.ru
Sun Jul 13 22:20:40 UTC 2014
On Sun, Jul 13, 2014 at 05:46:50PM -0400, itpp2012 wrote:
> Ok clear enough, I'd still consider it some kind of bug (it makes no sense
> for try_files to be disabled when an if matches), for example using map and
> a single IF does this as well which is more or less nginx's recommended way
> of doing an IF with map.
Sure. The page in question lists various bugs related to "if"
(may be except the first one, which is explicitly marked as "not
really bug, just how it works").
And we even have a trac ticket for this:
> Funny thing is when you have a .php location inside a / location try_files
> does work with multiple IF's and a IF match.
I suspect you've tested it wrong.
More information about the nginx