Case insensitive exact location match?

itpp2012 nginx-forum at nginx.us
Wed May 20 10:03:16 UTC 2015


J.J J Wrote:
-------------------------------------------------------
> No, exact and inclusive match are case sensitive.
> 
> You can write it in two location :
> location   =  /test
> location   =  /TEST
> 
> Personally, I think it's a bad practice to differentiate requests by
> the
> case(ness) of URI.

Hmm so you also need to add

location   =  /Test
location   =  /TEst
location   =  /TESt
........

It should be a server/location block config item.

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,258977,259000#msg-259000



More information about the nginx mailing list