aboutsummaryrefslogtreecommitdiffhomepage
path: root/config
diff options
context:
space:
mode:
authorDoug Luce <doug@github.con.com>2022-03-15 08:57:12 -0700
committerChocobozzz <chocobozzz@cpy.re>2022-03-16 10:58:01 +0100
commitf9915efa5ea0714178fc60d11a0d5434e7b1e600 (patch)
treecf2e7249a64a4af73a89aa19c755d5eec0ab9fe2 /config
parent60233e90d280eb865d396b30b63c0e88d13ca7db (diff)
downloadPeerTube-f9915efa5ea0714178fc60d11a0d5434e7b1e600.tar.gz
PeerTube-f9915efa5ea0714178fc60d11a0d5434e7b1e600.tar.zst
PeerTube-f9915efa5ea0714178fc60d11a0d5434e7b1e600.zip
Make object storage ACL configurable
Override this value to allow uploads to non-public S3 buckets. Otherwise "AccessDenied: Access Denied" errors will end up in the log. Fixes #4850
Diffstat (limited to 'config')
-rw-r--r--config/default.yaml3
-rw-r--r--config/production.yaml.example3
2 files changed, 6 insertions, 0 deletions
diff --git a/config/default.yaml b/config/default.yaml
index 42ce12c18..6db8d3803 100644
--- a/config/default.yaml
+++ b/config/default.yaml
@@ -138,6 +138,9 @@ object_storage:
138 138
139 region: 'us-east-1' 139 region: 'us-east-1'
140 140
141 # Set this ACL on each uploaded object
142 upload_acl: 'public-read'
143
141 credentials: 144 credentials:
142 # You can also use AWS_ACCESS_KEY_ID env variable 145 # You can also use AWS_ACCESS_KEY_ID env variable
143 access_key_id: '' 146 access_key_id: ''
diff --git a/config/production.yaml.example b/config/production.yaml.example
index bb1b4615b..e6e85da12 100644
--- a/config/production.yaml.example
+++ b/config/production.yaml.example
@@ -134,6 +134,9 @@ object_storage:
134 134
135 region: 'us-east-1' 135 region: 'us-east-1'
136 136
137 # Set this ACL on each uploaded object
138 upload_acl: 'public'
139
137 credentials: 140 credentials:
138 # You can also use AWS_ACCESS_KEY_ID env variable 141 # You can also use AWS_ACCESS_KEY_ID env variable
139 access_key_id: '' 142 access_key_id: ''