Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Azure CDN (Verizon) custom rewrite rule invalid origin

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?

enter image description here

like image 270
Christopher Cabezudo Rodriguez Avatar asked Nov 04 '19 16:11

Christopher Cabezudo Rodriguez


1 Answers

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

like image 61
Christopher Cabezudo Rodriguez Avatar answered Nov 20 '22 05:11

Christopher Cabezudo Rodriguez