Answers for "Can upload media files to Amazon S3 but cannot read them in production server"

0

Can upload media files to Amazon S3 but cannot read them in production server

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "PublicReadGetObject",
            "Effect": "Allow",
            "Principal": {
                "AWS": "*"
            },
            "Action": "s3:GetObject",
            "Resource": "arn:aws:s3:::name-of-your-bucket/*"
        }
    ]
}
Posted by: Guest on April-08-2022

Browse Popular Code Answers by Language