阿里云OSS STS上传配置
RAM Policy Editor:http://gosspublic.alicdn.com/ram-policy-editor/index.html
上传1M的文件报错,需要配置:
Bucket设置
从浏览器中直接访问OSS需要开通Bucket的CORS设置:
将allowed origins设置成 *
将allowed methods设置成 PUT, GET, POST, DELETE, HEAD
将allowed headers设置成 *
将expose headers设置成 etag x-oss-request-id
Last updated
Was this helpful?