Azure CDN (Verizon) custom rewrite rule invalid origin

爷,独闯天下 提交于 2020-06-12 08:47:37

问题


I am trying to update 2 rules in Azure CDN Management (Verizon) Recently they update to V4 and the prefix source is no longer coming on the field

Rule 1 -> If http redirect to https Rule 2 -> If url is empty (only root) serve default document index.html

The new rules engine is unable to identify the Source I already try

  1. Leaving it blank
  2. www.[mydomain].com
  3. [mydomain].com
  4. /

The old version had the CDN Verizon id hardcoded on the field, maybe this what is missing? how can I find this?


回答1:


Managed to get the correct values by playing around with other options

To get your customer ORIGIN -> Create new rule

-> Origin -> Customer Origin

-> Copy entire line /80*****/***

-> Use this line to populate your origin on the redirect rule



来源:https://stackoverflow.com/questions/58697519/azure-cdn-verizon-custom-rewrite-rule-invalid-origin

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!