0

我有一些 AMP 页面,这些页面使用 amazon s3 页面使用 S3 图像形成 amazon S3 中的容器,并具有类似的引用策略

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "PublicReadForGetBucketObjects",
            "Effect": "Allow",
            "Principal": "*",
            "Action": "s3:GetObject",
            "Resource": "arn:aws:s3:::domain/*",
            "Condition": {
                "StringLike": {
                    "aws:Referer": [
                        "http://domain.fr/*",
                        "http://www.domain.fr/*",
                        "https://domain.fr/*",
                        "https://www.domain.fr/*"
                        ]
                }
            }
        }
    ]
}

您知道如何在此策略中添加 google for amp 以在 google amp 搜索中显示图像吗?我想我必须将 google amp 缓存列入白名单,但如果您有建议,谢谢!

4

0 回答 0