Azure front Door url rewriting

Arthur(Xueli) Wang 0 Reputation points
2025-02-05T01:52:21.3766667+00:00

We are migrating from Azure CDN to Azure Front Door and are encountering URL rewrite issues. Previously, in CDN, we could use (.*) to replace the matched content with a new address, while preserving any unmatched content and appending a SAS token to the end. Now, we must use {url_path:seg#} to match the corresponding content. For example, /content/* needs to be rewritten to /media/pdf/*?<SAS token>. How can we achieve this in Azure Front Door?

Thanks

Azure Front Door
Azure Front Door
An Azure service that provides a cloud content delivery network with threat protection.
739 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.