URL schema for Ozone S3 Gateway
Ozone S3 Gateway supports both the virtual host-style URL s3 bucket addresses (http://bucketname.host:9878) and the path-style addresses (http://host:9878/bucketname). By default, S3 Gateway uses path-style addresses.
If you want to use virtual host-style URLs, you must set the main domain name in
ozone-site.xml.
<property>
<name>ozone.s3g.domain.name</name>
<value>s3g.internal</value>
</property>