I can enable CORS in OVH Object Storage (that uses OpenStack Swift) using this command
curl -i -XPUT -H "X-Auth-Token: xxxxxxxxxxx" -H "X-Container-Meta-Access-Control-Allow-Origin: *" https://storage.sbg1.cloud.ovh.net/v1/AUTH_yyyyyyy/repository
and everything works well. But after a period of time (that is completely random) this option is reset. Do you know why and how to solve that?
I discovered the answer to this issue. When you visit your OVH control panel and enter the cloud containers section, their CP resets the CORS. As long as you don't log into and visit this area, your CORS should remain as you have set it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With