'Create VPC Endpoint for s3-website, not s3
I have a public s3 static website, and I want to hide the public default URL so that it's only viewable via my own reverse-proxy using a VPC endpoint.
It's currently working right now using the URL for standard bucket access: my-bucket.bucket.vpce-xxxxxxxxxx.s3.us-east-2.vpce.amazonaws.com, however this is allowing directory browsing publicly.
Is it possible to create an endpoint for the s3-website version instead of s3 so that directories will route to index.html? There is absolutely nothing in the AWS docs that I can find referring to s3-website endpoints, just standard s3 endpoints.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
