Why am I getting 403 frobidden while displaying images on s3?
I'm trying to migrate from local storage to Amazon S3. But now when I try to display the image on through s3 url on my website I get an 403 forbidden error. The bucket as public access and I have the following CORS configuration on the bucket:
<?xml version="1.0" encoding="UTF-8"?>
<CORSConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
<CORSRule>
<AllowedOrigin>*</AllowedOrigin>
<AllowedMethod>GET</AllowedMethod>
<MaxAgeSeconds>3000</MaxAgeSeconds>
<AllowedHeader>*</AllowedHeader>
</CORSRule>
</CORSConfiguration>
What am I missing?
链接地址: http://www.djcxy.com/p/93550.html