Amazon S3 Chinese Special Region Support

Amazon deployed a region in China last year, but this region is not a part of The region name is “cn-north-1”, and the s3 endpoint is “”. So is that possible for Discourse to support this s3 region? Thank you for your fantastic work.

You could add a pull request for it in GitHub, if you want.

1 Like

Here’s the file:


thanks, I will try to fix it.

How to add this region?
Shall I just add a ‘cn-north-1’ in def self.valid_values?

How is it map to endpoint “”?