Welcome! Log In Create A New Profile

Advanced

Re: Case insensitive exact location match?

J.J J
May 20, 2015 04:48AM
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@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@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Case insensitive exact location match?

E.B. May 18, 2015 11:08PM

Re: Case insensitive exact location match?

J.J J May 20, 2015 04:48AM

Re: Case insensitive exact location match?

itpp2012 May 20, 2015 06:03AM

Re: Case insensitive exact location match?

B.R. May 20, 2015 06:38AM

Re: Case insensitive exact location match?

itpp2012 May 20, 2015 07:03AM

Re: Case insensitive exact location match?

J.J J May 23, 2015 08:48PM

Re: Case insensitive exact location match?

E.B. May 20, 2015 07:50PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 256
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready