Strange try_files behaviour

itpp2012 nginx-forum at
Sun Jul 13 21:46:50 UTC 2014

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.

Funny thing is when you have a .php location inside a / location try_files
does work with multiple IF's and a IF match.

Posted at Nginx Forum:,251650,251736#msg-251736

More information about the nginx mailing list