diff options
author | Chocobozzz <me@florianbigard.com> | 2022-10-19 10:43:53 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2022-10-24 14:48:24 +0200 |
commit | 9ab330b90decf4edf152ff8e1d2948c065766b2c (patch) | |
tree | 29d924f50f7307e8e828a57ecb9ea78623487ce0 /config | |
parent | 3545e72c686ff1725bbdfd8d16d693e2f4aa75a3 (diff) | |
download | PeerTube-9ab330b90decf4edf152ff8e1d2948c065766b2c.tar.gz PeerTube-9ab330b90decf4edf152ff8e1d2948c065766b2c.tar.zst PeerTube-9ab330b90decf4edf152ff8e1d2948c065766b2c.zip |
Use private ACL for private videos in s3
Diffstat (limited to 'config')
-rw-r--r-- | config/default.yaml | 7 | ||||
-rw-r--r-- | config/production.yaml.example | 7 |
2 files changed, 10 insertions, 4 deletions
diff --git a/config/default.yaml b/config/default.yaml index f94ec6209..7753821da 100644 --- a/config/default.yaml +++ b/config/default.yaml | |||
@@ -148,8 +148,11 @@ object_storage: | |||
148 | 148 | ||
149 | region: 'us-east-1' | 149 | region: 'us-east-1' |
150 | 150 | ||
151 | # Set this ACL on each uploaded object | 151 | upload_acl: |
152 | upload_acl: 'public-read' | 152 | # Set this ACL on each uploaded object of public/unlisted videos |
153 | public: 'public-read' | ||
154 | # Set this ACL on each uploaded object of private/internal videos | ||
155 | private: 'private' | ||
153 | 156 | ||
154 | credentials: | 157 | credentials: |
155 | # You can also use AWS_ACCESS_KEY_ID env variable | 158 | # You can also use AWS_ACCESS_KEY_ID env variable |
diff --git a/config/production.yaml.example b/config/production.yaml.example index 48613e1c3..167d23af8 100644 --- a/config/production.yaml.example +++ b/config/production.yaml.example | |||
@@ -146,8 +146,11 @@ object_storage: | |||
146 | 146 | ||
147 | region: 'us-east-1' | 147 | region: 'us-east-1' |
148 | 148 | ||
149 | # Set this ACL on each uploaded object | 149 | upload_acl: |
150 | upload_acl: 'public-read' | 150 | # Set this ACL on each uploaded object of public/unlisted videos |
151 | public: 'public-read' | ||
152 | # Set this ACL on each uploaded object of private/internal videos | ||
153 | private: 'private' | ||
151 | 154 | ||
152 | credentials: | 155 | credentials: |
153 | # You can also use AWS_ACCESS_KEY_ID env variable | 156 | # You can also use AWS_ACCESS_KEY_ID env variable |