S3预设url nginx反向代理错误- SignatureDoesNotMatch
在浏览器中访问S3视频资源提示跨域
location /vido/s3/ {
proxy_pass http://10.0.10.93:9000/;#S3服务器地址
}
浏览器报错
<Error>
<Code>SignatureDoesNotMatch</Code>
<Message>The request signature we calculated does not match the signature you provided. Check your key and signing method.</Message>
<Key>1.mp4</Key>
<BucketName>0b29578507914c02a5903734d8f84394</BucketName>
<Resource>/0b29578507914c02a5903734d8f84394/1.mp4</Resource>
<RequestId>1723057A73352620</RequestId>
<HostId>f24ec8e6-8069-475e-ba9b-4630a9735cf5</HostId>
</Error>
提示是签名错误
最终实现
location /vido/s3/ {
proxy_pass http://10.0.10.93:9000/;#S3服务器地址
proxy_pass_request_headers off;
}
博客主要讲述在浏览器中访问S3视频资源时遇到的问题,出现跨域提示,浏览器报错显示签名错误,最后提及实现情况。
3111

被折叠的 条评论
为什么被折叠?



