Modify URI and then redirect

Wanted to add in that I found that the URI directive has a lower precedence than redir so this wasn’t working until I feed it through the route directive

http://subdomain.SorryHaveToRedact.org {
	route {
		uri strip_prefix /uw-mc
		redir https://portal.newdomain.org{uri}
	}
}
2 Likes