内容分发网络 CDN-回源URL改写:配置示例

时间:2024-01-25 18:53:14

配置示例

示例1:加速域名www.example.com的回源URL改写配置如下图所示。

原始请求:https://www.example.com/test/a.txt

改写后的回源请求:https://www.example.com/test/b.txt

示例2:加速域名www.example.com的回源URL改写配置如下图所示。

原始请求:https://www.example.com/test/aaa/bbb.mp4

改写后的回源请求:https://www.example.com/newtest/aaa/bbb.mp4

示例3:加速域名www.example.com的回源URL改写配置如下图所示。

原始请求:https://www.example.com/test/aaa/bbb.txt

改写后的回源请求:https://www.example.com/new.jpg

示例4:加速域名www.example.com的回源URL改写配置如下图所示。

原始请求:https://www.example.com/123.html?id=3

改写后的回源请求:https://www.example.com/thread0/123.html?id=3

support.huaweicloud.com/usermanual-cdn/cdn_01_0179.html