forked from Droplr/serverless-api-cloudfront
-
Notifications
You must be signed in to change notification settings - Fork 43
Open
Description
When the plugin creates the CF distribution it uses the REST endpoint for the S3 bucket, this means you get XML style error pages and means you lose out on SSL offloading and HTML errors.
I.e. it currently configures CF to point at:
xxxxxxx-app.s3.amazonaws.com (REST endpoint)
Rather than the website endpoint:
xxxxxxx-app.s3-website-us-east-1.amazonaws.com (website endpoint).
Note the s3-website in the URL.
More info here: https://docs.aws.amazon.com/AmazonS3/latest/dev/WebsiteEndpoints.html
Is this behaviour configurable? Or have I overlooked something?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels