Yesterday I tried to enable the direct s3 upload (A new era for file uploads in Discourse) on DigitalOcean Spaces. I seted up a new test instance for this.
- Enabled the
enable_direct_s3_uploadshidden site settings.
- I tried to set up the CORS on DO Spaces on Spaces settings page however it seems to not support
ExposeHeadersso I could not add
ETagto it. Which is broke the upload process.
- I found a solution for this. With s3cmd I could upload CORS configuration file which could contains
- After I uploaded the CORS config file to the bucket the multipart direct upload works fine.
So it seems to work but I don’t know how safe to use like this on DO Spaces. Does anyone have any long-term experience with this or any suggestion?