AWS CloudFront access denied to S3 bucket

前端 未结 6 494
一向
一向 2021-01-31 07:34

I am trying to setup CloudFront to serve static files hosted in my S3 bucket. I have setup distribution but I get AccessDenied when trying

6条回答
  •  太阳男子
    2021-01-31 08:30

    I added 'index.html' in Default Root Object under General tab of cloudFront 'Distribution Settings' and it worked for me. As index.html was the root file for my project!

提交回复
热议问题