我试图在s3上托管一个基本的静态网站,用于一些测试目的,我是新的S3.我有一些问题,与s3 buckets或endpoints.I刚刚创建了一个bucket,它给我的网址像下面。我有几个问题,关于s3 bucket或endpoints的URL结构,我刚刚创建了一个bucket,它给了我如下的网址
https:/bucket-name.us-east-2.amazonaws.comindex.html。
但我希望网址如下
The
Buckets created after September 30, 2020, will support only virtual hosted-style requests. Path-style requests will continue to be supported for buckets created on or before this date.Thus it would be better to keep using virtual hosted-style, for the consistency reasons.
我如何才能做到这一点?