1 Answer
- Newest
- Most votes
- Most comments
0
First, you need to configure CORS (cross-origin resource sharing) on your S3 bucket to allow requests to your bucket coming from the website. For S3 to then return the correct CORS response headers, you need to enable those headers on CloudFront. For this, check out the Amazon S3 section on this link or simply apply the managed CORS-S3Origin policy to your distribution.
answered 9 months ago
Relevant content
- asked 10 months ago
- asked 8 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 9 months ago
- AWS OFFICIALUpdated 2 years ago