Skip to content

Use S3 website URL rather than REST endpoint #22

@clarkd

Description

@clarkd

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions