We try to configure Azure CDN on Microsoft Standard pricing to allow us rewrite Url to route all application routing to ./index.html.
(我们尝试以Microsoft标准价格配置Azure CDN,以允许我们重写Url以将所有应用程序路由路由到./index.html。)
(如何设置规则引擎来重写url,但保留所有js文件不变?)
(google中的所有示例都显示了如何按溢价执行此操作,但我们希望在Microsoft Standard上执行此操作,这是可能的吗?)
If none of your page URLs contain a dot, you can set a rule as follows:
(如果您的页面URL都不包含点,则可以按以下方式设置规则:)
Not Any
(条件:“ URL文件扩展名” = Not Any (即没有扩展名))
(行动:“ URL重写”,)
/
(来源= /)
index.html
(目的地= index.html)
(保留未配对的路径=否)
This will rewrite any URL without a dot in the trailing section to index.html.
(这会将URL尾部没有点的任何URL重写为index.html。)
1.4m articles
1.4m replys
5 comments
56.8k users