ℹ️ Objective
🔒 Steps to Follow


copia-s3copia-s3
copia-fe).

Deploying to showing a last modified date.
copia-fe.
Default (*) and click Edit.
copia-fe > Permissions tab > Bucket policy > click Edit.copia-fe with your actual bucket name) and click Save changes:
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "PublicReadGetObject",
"Effect": "Allow",
"Principal": "*",
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::copia-fe/*"
}
]
}
/login) will cause S3 to return a 403 or 404 error. We must configure CloudFront to redirect these errors back to /index.html with a 200 OK status.403: ForbiddenYes/index.html200: OK404: Not FoundYes/index.html200: OK
d12345abcdef.cloudfront.net).