I ran into some really weird behavior around if's within "location" statement just as the nginx site says. And it might be good to warn people since your suggestion on the site is to use a bunch if IF statements.
I'm not saying your recipe doesn't work, only that when combined with other stuff, it may not work.
should have a link to the following:
http://wiki.nginx.org/IfIsEvil
I ran into some really weird behavior around if's within "location" statement just as the nginx site says. And it might be good to warn people since your suggestion on the site is to use a bunch if IF statements.
I'm not saying your recipe doesn't work, only that when combined with other stuff, it may not work.