igor at sysoev.ru
Fri Mar 23 15:37:39 UTC 2018
> On 23 Mar 2018, at 18:22, Friscia, Michael <michael.friscia at yale.edu> wrote:
> Ok, that worked out really well.
> For anyone following I had to go here
> 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.
More information about the nginx