Revert changes in 7b601ff2f8.

The site setting names and global setting names are similar and that
prevents global settings from being configured via the ENV.
This commit is contained in:
Guo Xiang Tan 2019-03-11 13:52:12 +08:00
parent 62579d79d4
commit 93a448bcf7

View File

@ -1030,28 +1030,23 @@ files:
s3_access_key_id:
default: ""
secret: true
shadowed_by_global: true
s3_secret_access_key:
default: ""
secret: true
shadowed_by_global: true
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
s3_endpoint:
default: ""
regex: '^https?:\/\/.+[^\/]$'
shadowed_by_global: true
s3_cdn_url:
default: ""
regex: '^https?:\/\/.+[^\/]$'
s3_force_path_style:
default: false
shadowed_by_global: true
s3_configure_tombstone_policy:
default: true
shadowed_by_global: true