Enable Virtual-Hosted addressing
Enable Virtual-Hosted addressing
Virtual-Hosted addressing allows you to use CORS. With this type of addressing, the name of the container is specified at the beginning of the URL: <container_name>.s3.ru-1.storage.selcloud.ru
.
If Virtual-Hosted addressing for a container is enabled, it cannot be disabled.
By default, there can be a maximum of 100 Virtual-Hosted addressing containers on a single account. To increase the number of such containers, create a ticket.
- In Control Panel, go to Object Storage → Containers.
- Open the container page → Configuration tab.
- Press Modify.
- In the Addressing Type box, check the Virtual-Hosted checkbox.
- Click Save.