gpt4 book ai didi

azure - 如何使用 Azure CDN Verizon Edgecast Premium 创建多个源?

转载 作者:行者123 更新时间:2023-12-04 17:48:46 29 4
gpt4 key购买 nike

我来自 AWS Cloudfront,在这里我可以为给定端点创建多个源。

我可以提供来自一个来源的部分网址和来自另一个来源的部分网址。

我们可以使用 Azure CDN Verizon Edgecast Premium 做些什么吗?

EDIT1:(具有单一分发的 Cloudfront 示例)

https://example.com/origin1/index.html <-- 这是从 origin1 提供的

https://example.com/origin2/index.html <-- 这是从 origin2 提供的

或者像这样,

https://example.com/endpoint/index.html <-- 来自origin1

https://example.com/endpoint/index1.html <-- 来自origin2

最佳答案

这是我解决这个问题的方法。在现代看起来很可怕,但在撰写本文时就是这样。

如果你想有多个来源。为每个源创建一个端点。

Endpoint1 --> Origin1 
Endpoint2 --> Origin2

创建另一个端点端点,以使用重写规则为这些端点创建重写规则。

Endpoint3/origin1 rewrite to Endpoint1
Endpoint3/origin3 rewrite to Endpoint2

您只能为其他端点创建重写规则,而不能为任何源创建重写规则。

enter image description here希望对您有所帮助。

关于azure - 如何使用 Azure CDN Verizon Edgecast Premium 创建多个源?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46781600/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com