Closed abyss-w closed 1 year ago
Add the enable_virtual_style field to the config file, example:
enable_virtual_style
access_key_id: 'ACCESS_KEY_ID_EXAMPLE' secret_access_key: 'SECRET_ACCESS_KEY_EXAMPLE' zone: 'zone_name' host: 'qingstor.com' port: 443 protocol: 'https' enable_virtual_style: true
true
http://BUCKET.<zone_name>.qingstor.com/KEY
false
http://<zone_name>.qingstor.com/BUCKET/KEY
Add the
enable_virtual_style
field to the config file, example:enable_virtual_style
is set totrue
, requests will be sent using the virtual host style, e.g.http://BUCKET.<zone_name>.qingstor.com/KEY
enable_virtual_style
is set tofalse
or not set, requests will be sent using path host style, e.g.http://<zone_name>.qingstor.com/BUCKET/KEY