1 Answer
- Newest
- Most votes
- Most comments
0
Try these steps to fix the issue:
- Ensure CloudFront's Origin Access Identity can access all files in your S3 bucket.
- Check all objects in S3 have the required permissions for CloudFront access.
- Redirect
404: Not Found
errors to/index.html
with a200: OK
response. - Check CloudFront Origin Settings: Match the "Origin Protocol Policy" with your S3 setup.
- Check Viewer Protocol Policy: Set to "Redirect HTTP to HTTPS".
- Clear CloudFront cache after changes. https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html
answered 7 months ago
Relevant content
- asked 2 months ago
- Accepted Answerasked 2 years ago
- Accepted Answerasked a month ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago