Welcome! Log In Create A New Profile

Advanced

location ^~ modifier

B.R.
December 07, 2015 04:10PM
Hello,

I got kind of a newbie question:
Does the ^~ location modifier finds a matching string at the start of an
URI?

I naively thought it was just a variant of the classic prefix search,
without any constraint on the placement of the matched string in an URI.

Is there a simple way of matching the longest prefix location anywhere in
an URI, discarding any regex location at the same level?

​Thanks,​
---
*B. R.*
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

location ^~ modifier

B.R. December 07, 2015 04:10PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 108
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready