Azure Front Door rule for specific origin
Hi, we are looking to create a URL redirect but only for a specific origin that is part of an origin group. On the Front Door we have an endpoint and routing rule pointing to an origin group which (as of right now) sends to one of 2 web sites hosted in Azure. We would like to add a 3rd origin to this group (website located on-premise.) The app is installed in all 3 of these locations. Problem is that the on-prem site requires a redirection. Is there any way to accomplish this on Front Door whether a new route to different origin group (with on-prem origin) or a rule set configuration? To summarize, if we browse to the endpoint URL (app.azurefd.net), and only the on-prem origin is alive (or lowest latency), then we need it to redirect to app.azurefd.net/subpath1/subpath2