Redirect question

Friscia, Michael michael.friscia at
Fri Mar 23 15:38:58 UTC 2018

Great, thank you for that explanation, I do happen to have hundreds.

Michael Friscia
Office of Communications
Yale School of Medicine
(203) 737-7932 - office
(203) 931-5381 - mobile <>

On 3/23/18, 11:37 AM, "nginx on behalf of Igor Sysoev" <nginx-bounces at on behalf of igor at> wrote:

    > On 23 Mar 2018, at 18:22, Friscia, Michael <michael.friscia at> 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.
    Igor Sysoev
    nginx mailing list
    nginx at

More information about the nginx mailing list