拒绝访问 - S3 索引文档

Access Denied - S3 Index Document

我已将多个页面上传到 S3 以托管静态网站。单独地,它们加载得很好。

https://s3.eu-north-1.amazonaws.com/MYDOMAIN/services

例如,将加载服务页面。单击联系人将加载联系人页面。

但是,如果我尝试导航到根目录,即

https://s3.eu-north-1.amazonaws.com/MYDOMAIN/

我明白了

This XML file does not appear to have any style information associated with it. The document tree is shown below.

<Code>AccessDenied</Code>

任何建议都很好。 S3 快把我逼疯了。

转到您的存储桶并右键单击对象或整个文件夹,然后创建Public

然后刷新


来自这个答案

You can see your endpoint by going to S3 > Click on your bucket > Bucket Properties > Static website hosting > should reveal your endpoint.