Getting cors issue for multiple clients domains
i have kept images on S3 and are consumed by multiple clients domains through single Cloudfront url
Note - Cloudfront is having only 1 domain name https://www.stati.. and so that i don't have to mention each clients domain name everywhere we have mentioned "AllowedOrigins": ["*"] on s3
https://www.stati..
"AllowedOrigins": ["*"]
S3 configuration
{ "AllowedHeaders": ["*"], "AllowedMethods": ["GET"], "AllowedOrigins": ["*"], "ExposeHeaders": [], "MaxAgeSeconds": 3000 }
Cloudfront Configuration
https://aws.amazon.com/premiumsupport/knowledge-center/no-access-control-allow-origin-error/
Note :
2.1m questions
2.1m answers
60 comments
57.0k users