You need to enable JavaScript to run this app.
Torch Object Storage

Torch Object Storage

Copy page
Download PDF
11-MIRROR
0011-00000010
Copy page
Download PDF
0011-00000010
Problem description​
mirror origin configuration is invalid.​
Root cause​
when users set bucket mirror origin rules, elements in the Pass array of the MirrorHeader configuration are invalid, such as those prefixed with x-tos- or values like host, content-length, date, authorization, x-url-style.​
Example​
you configured the bucket mirror origin, but the elements in the Pass array of the MirrorHeader configuration are invalid.​
​
PUT /?mirror HTTP/1.1​
Host: <Bucket name>.<TOS endpoint>​
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"]}​
}​
}]​
}​
​
Solution​
ensure all elements in the Pass array of the MirrorHeader configuration are valid.​
Last updated: 2025.10.11 17:59:22