Skip to content

Conversation

@rspitler
Copy link

Add policy statement to allow CloudFront OriginAccess Identity to ListBucket. This means that when a unknown object is requested it returns a 404 instead of a 403. For SPA hosted by CloudFront this allows for the custom error logic to serve the SPA instead of a 404 page for a logical route.

Issue #, if available:

Description of changes:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

…tBucket. This means that when a unknown object is requested it returns a 404 instead of a 403. For SPA hosted by CloudFront this allows for the custom error logic to serve the SPA instead of a 404 page for a logical route.
@ConnorKirk ConnorKirk self-assigned this Jan 10, 2022
Copy link
Contributor

@rezabekf rezabekf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGMT

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants