Redirect question

Friscia, Michael michael.friscia at
Fri Mar 23 13:14:00 UTC 2018

I’m wondering how to achieve this in the config

I have a url like this

and I want to redirect to

the problem at hand is switching “/people/” to “/users/” but keep everything else so if I was to have
I would still get redirected to

I currently have redirects where I just append $request_uri to the new domain name but in this case I need to alter the $request_uri before I use it. So the question is how should I approach making this sort of change?

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list