March 23, 2018 11:40AM
> On 23 Mar 2018, at 18:22, Friscia, Michael <michael.friscia@yale.edu> wrote:
>
> Ok, that worked out really well.
>
> For anyone following I had to go here
> https://forum.nginx.org/read.php?2,279172,279176#msg-279176
> because our exchange server destroyed the sample URLs.
>
> But I’m not sure how the location order is mitigated. Is this because the first location match is a regex instead of just a string match?

The regex locations are checked in order of appearance.
Prefix and excact locations are checked to find the longest matching
prefix so their order has no meaning.

When you have hundreds of locations the order becomes important factor
during configuration maintainance.


--
Igor Sysoev
http://nginx.com

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Redirect question

wickedhangover March 23, 2018 09:16AM

Re: Redirect question

Igor Sysoev March 23, 2018 11:06AM

Re: Redirect question

wickedhangover March 23, 2018 11:24AM

Re: Redirect question

Igor Sysoev March 23, 2018 11:40AM

Re: Redirect question

wickedhangover March 23, 2018 11:40AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 181
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