nginx 在配置中加入了
proxy_set_header Authorization $http_authorization;
proxy_pass_header Authorization;
但是上传图片文件后无法显示预览,
F12显示
GET https://address 400
双击图片后提示图像无法加载
点击链接后跳转到OSS提示
<Error>
<Code>InvalidArgument</Code>
<Message>
Either the Signature query string parameter or the Authorization header should be specified, not both.
</Message>
<RequestId>5BF802EDB90A538DB2404714</RequestId>
<HostId>private.oss-cn-shanghai.aliyuncs.com</HostId>
<Authorization>
OSS STS.NH88nzzXUMGNNnyn6LZmVcAMV:Zz020BmUmHNBQ+E/AxQo2IlfyPQ=
</Authorization>
</Error>
请问是哪里没做对吗?