I host and html site in Azure CDN (under a with Premier paid Plan) so it gives me a Rules engine, which gives a lots of features to control the flow. I would like to have URL redirect and URL rewrite Azure CDN rules, please.
Example:
Given a site like www.example.com
on which users can access see info as www.example.com/username
, I've setup the following rules in IIS:
<rule name="rulex" enabled="true" stopProcessing="true">
<match url="." ignoreCase="false" />
<conditions logicalGrouping="MatchAll">
<add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" />
</conditions>
<action type="Rewrite" url="/index.html" />
</rule>
So, how I can set the same rule in Azure CDN please? Is this possible? Any links to examples would be greatly appreciated :)