You need to enable JavaScript to run this app.
文档中心
对象存储

对象存储

复制全文
下载 pdf
11-MIRROR
0011-00000010
复制全文
下载 pdf
0011-00000010
问题描述​
镜像回源配置非法。​
问题原因​
用户设置桶镜像回源规则时,MirrorHeader 配置中的 Pass 数组元素非法,比如以 x-tos- 为前缀,或取值为 host、content-length、date、authorization、x-url-style。​
问题示例​
您配置桶镜像回源时,MirrorHeader 配置中的 Pass 数组元素非法 。​
​
PUT /?mirror HTTP/1.1​
Host: bucketname.tos-cn-beijing.volces.com​
Date: Fri, 30 Jul 2021 13:59:18 GMT​
Authorization: authorization xxx​
​
{​
"Rules":[{​
"ID":"1",​
"Condition":{​
"HttpCode":404,​
"KeySuffix":"object-key-prefix"​
},​
"Redirect":{​
"PublicSource":{​
"SourceEndpoint":{​
"Primary":["http://abc.123/"]​
}​
},​
"PassQuery":true,​
"FollowRedirect":true,​
"MirrorHeader":{"Pass":["host"]}​
}​
}]​
}​
​
解决方案​
确保 MirrorHeader 配置中的 Pass 数组元素合法。​
​
最近更新时间:2026.09.20 16:18:57
这个页面对您有帮助吗?
有用
有用
无用
无用