I have two backend pools in my front door. One is configured for App Service AAA and the second one is configured for service BBB:
aaa.azurewebsites.net
bbb.azurewebsites.net
I'm adding two routing rules, one for backend pool AAA and the second one for backend pool BBB with the next patterns to match:
Backend pool AAA:
Backend pool BBB:
That's it for rules, so no Rules Engine configuration is set, Route Type is "Forward" and URL rewrite/Caching are disabled.
Now, I'm trying to access my backends:
What am I missing here? I've found one option, but it can't be used in my case because my Web Apps are deployed from Container Registry so I can't add virtual directory in the App Service.
So everything works if routing rules configured the next way:
Rule for backend pool AAA:
Patterns to match: /aaa/*
URL Rewrite: enabled
Custom forwarding path: /
Rule for backend pool BBB:
Patterns to match: /bbb/*
URL Rewrite: enabled
Custom forwarding path: /