SET ANSI_NULLS OFF
example.com
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Principal": "*",
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::example.com/*"
}
]
}
index.html
问题在于:
-不起作用example.com CNAME example.com.s3-website.eu-central-1.amazonaws.com
-在浏览器中不起作用(使用Android OK)。
浏览器通过https(chrome)或替代www(firefox)来完成