diff options
author | Doug Luce <doug@github.con.com> | 2022-03-15 08:57:12 -0700 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2022-03-16 10:58:01 +0100 |
commit | f9915efa5ea0714178fc60d11a0d5434e7b1e600 (patch) | |
tree | cf2e7249a64a4af73a89aa19c755d5eec0ab9fe2 /config/default.yaml | |
parent | 60233e90d280eb865d396b30b63c0e88d13ca7db (diff) | |
download | PeerTube-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/default.yaml')
-rw-r--r-- | config/default.yaml | 3 |
1 files changed, 3 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: '' |