Skip to content

A platform for community discussion. Free, open, simple.

FIX: Setting DISCOURSE_S3_REGION env variable had no effect

Gerhard Schlagera3f8ef89a647
diff --git a/config/site_settings.yml b/config/site_settings.yml
index e2ebf2aadce..d12ab1bd839 100644
--- a/config/site_settings.yml
+++ b/config/site_settings.yml
@@ -1019,6 +1019,7 @@ files:
s3_region:
default: 'us-east-1'
enum: 'S3RegionSiteSetting'
+ shadowed_by_global: true
s3_upload_bucket:
default: ''
regex: '^[a-z0-9\-\/]+$' # can't use '.' when using HTTPS