diff options
author | Chocobozzz <me@florianbigard.com> | 2023-01-12 08:41:16 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2023-01-12 08:41:16 +0100 |
commit | 8180f60477e99c4fd70ce25729d1ca65155a6686 (patch) | |
tree | 60f0d2f5c10e2302578c3742dfec4d30e14d6baf /config | |
parent | 2cb9f8b9c7b9b6707240171addf2bf015356007b (diff) | |
download | PeerTube-8180f60477e99c4fd70ce25729d1ca65155a6686.tar.gz PeerTube-8180f60477e99c4fd70ce25729d1ca65155a6686.tar.zst PeerTube-8180f60477e99c4fd70ce25729d1ca65155a6686.zip |
Fix ACL incompatibility with some s3 providers
We'll move to another method in the future
See https://github.com/Chocobozzz/PeerTube/issues/5497
Diffstat (limited to 'config')
-rw-r--r-- | config/default.yaml | 2 | ||||
-rw-r--r-- | config/production.yaml.example | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/config/default.yaml b/config/default.yaml index 1b7c3314d..20094ae8f 100644 --- a/config/default.yaml +++ b/config/default.yaml | |||
@@ -154,9 +154,11 @@ object_storage: | |||
154 | 154 | ||
155 | upload_acl: | 155 | upload_acl: |
156 | # Set this ACL on each uploaded object of public/unlisted videos | 156 | # Set this ACL on each uploaded object of public/unlisted videos |
157 | # Use null if your S3 provider does not support object ACL | ||
157 | public: 'public-read' | 158 | public: 'public-read' |
158 | # Set this ACL on each uploaded object of private/internal videos | 159 | # Set this ACL on each uploaded object of private/internal videos |
159 | # PeerTube can proxify requests to private objects so your users can access them | 160 | # PeerTube can proxify requests to private objects so your users can access them |
161 | # Use null if your S3 provider does not support object ACL | ||
160 | private: 'private' | 162 | private: 'private' |
161 | 163 | ||
162 | proxy: | 164 | proxy: |
diff --git a/config/production.yaml.example b/config/production.yaml.example index da067b3b5..e8b354d01 100644 --- a/config/production.yaml.example +++ b/config/production.yaml.example | |||
@@ -152,9 +152,11 @@ object_storage: | |||
152 | 152 | ||
153 | upload_acl: | 153 | upload_acl: |
154 | # Set this ACL on each uploaded object of public/unlisted videos | 154 | # Set this ACL on each uploaded object of public/unlisted videos |
155 | # Use null if your S3 provider does not support object ACL | ||
155 | public: 'public-read' | 156 | public: 'public-read' |
156 | # Set this ACL on each uploaded object of private/internal videos | 157 | # Set this ACL on each uploaded object of private/internal videos |
157 | # PeerTube can proxify requests to private objects so your users can access them | 158 | # PeerTube can proxify requests to private objects so your users can access them |
159 | # Use null if your S3 provider does not support object ACL | ||
158 | private: 'private' | 160 | private: 'private' |
159 | 161 | ||
160 | proxy: | 162 | proxy: |