Case insensitive exact location match?

J.J J jujj603 at gmail.com
Wed May 20 08:46:58 UTC 2015


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.

On Tue, May 19, 2015 at 11:07 AM, E.B. <emailbuilder88 at yahoo.com> wrote:

> I know how to do case insensitive regex location matching. But it would be
> very useful if I could do same with exact string matching, something like
>
> location   =*  /test
>
> So it would matching   "/test"  as well as  "/TEST"
>
> Or some other way to convert case of the request string without
> needing for regex engine?
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20150520/d7b80615/attachment-0001.html>


More information about the nginx mailing list