Hello,
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_uploads
hidden site settings. - Run
rake s3:ensure_cors_rules
- I tried to set up the CORS on DO Spaces on Spaces settings page however it seems to not support
ExposeHeaders
so I could not addETag
to it. Which is broke the upload process. - I found a solution for this. With s3cmd I could upload CORS configuration file which could contains
ExposeHeaders
too. - 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?
Thank you!