2 回答
- 最新
- 投票最多
- 评论最多
0
Did you check your default root object on CloudFront?
https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/DefaultRootObject.html
已回答 4 年前
0
Hi awshakan,
thanks for getting back to me and also for pointing me in the right direction.
It was indeed an issue with the Default Root Object setting on CloudFront. Basically, the default root object setting needs to be blank on the CloudFront distribution that gets used for redirecting the requests, whereas it only needs to be set (in my case "index.html") on the CloudFront distribution that points to the S3 bucket containing the actual content of the site.
已回答 4 年前
相关内容
- AWS 官方已更新 2 年前
- AWS 官方已更新 8 个月前