I am trying to create a rule in Azure Front Door to match the first folder in the request path and then use that to set a request header to the back-end origin group.
https://myfd.azurefd.net/**config**/some1/some2/some3/test.html https://myfd.azurefd.net/**identity**/some1/some2/some3/
I was able to do this in Application Gateway and get it to work as follows:
App Gateway Config
However, I cannot get this to work in FD as per the following config:
Azure Front Door Config
Azure Front Door is offering 3 tiers of services; the feature and optimization " Regular expression in the rules engine " is not available in the Classic tier . It was the root of the problem here. Consider the Standard or Premium tiers. Please see the screenshot below.
Step1: Front Door created with Premium tier
Step2: Created a rule engine with Regular expression
hope this helps!
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.