Azure CDN(Verizon)自定义重写规则无效来源 [英] Azure CDN (Verizon) custom rewrite rule invalid origin

查看:88
本文介绍了Azure CDN(Verizon)自定义重写规则无效来源的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试更新Azure CDN Management(Verizon)
中的2条规则,最近它们更新为V4,并且前缀源不再出现在字段中

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

规则1->如果http重定向到https
规则2->如果url为空(仅root),则使用默认文档index.html

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. 将其留空

  2. www。[mydomain] .com

  3. [mydomain] .com

  4. /

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

旧版本的CDN Verizon ID在字段上进行了硬编码,也许这是缺少的东西?我怎么找到这个?

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

推荐答案

设法通过使用其他选项来获取正确的值

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

让您的客户起源
->创建新规则

To get your customer ORIGIN -> Create new rule

->来源->客户来源

->复制整行/ 80 ***** / ** *

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

->使用此行在重定向规则上填充您的来源

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

这篇关于Azure CDN(Verizon)自定义重写规则无效来源的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆