OVH Community

Welcome to your community space. Ask questions, search for information, post content, and interact with other OVH Community members.

CORS in Object Storage


#1

Hello,

how can I configure CORS in Object Storage? The aws s3api put-bucket-cors seems to not be supported:

 aws s3api put-bucket-cors --bucket bucket-name --cors-configuration file://cors.json --endpoint-url=https://s3.waw.cloud.ovh.net

An error occurred (NotImplemented) when calling the PutBucketCors operation: The requested resource is not implemented

#2

With openstack:

openstack container set --property Access-Control-Allow-Headers='Content-Type, X-CSRFToken' name_of_container
openstack container set --property Access-Control-Allow-Origin='https://domain1.com https://domain2.com' name_of_container