问题
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
- Leaving it blank
- www.[mydomain].com
- [mydomain].com
- /
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