1 Answer
- Newest
- Most votes
- Most comments
1
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 a year ago
Relevant content
- Accepted Answerasked 3 months ago
- Accepted Answerasked 3 years ago
- Accepted Answerasked 8 months ago
- AWS OFFICIALUpdated 3 months ago
- AWS OFFICIALUpdated 2 years ago