diff options
author | Chocobozzz <me@florianbigard.com> | 2022-10-26 16:23:39 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-10-27 09:13:10 +0200 |
commit | 5a122dddc5aab1b2ae1843411032d5f392bdd216 (patch) | |
tree | 39778c4372c4b371f1294c94bf22d8a6e7a26456 /config | |
parent | 49e7e4d9ffd16cba7a721f6d3d3203decf4f4b2c (diff) | |
download | PeerTube-5a122dddc5aab1b2ae1843411032d5f392bdd216.tar.gz PeerTube-5a122dddc5aab1b2ae1843411032d5f392bdd216.tar.zst PeerTube-5a122dddc5aab1b2ae1843411032d5f392bdd216.zip |
Option to disable static files auth check/s3 proxy
Diffstat (limited to 'config')
-rw-r--r-- | config/default.yaml | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/config/default.yaml b/config/default.yaml index 7753821da..2e249cc76 100644 --- a/config/default.yaml +++ b/config/default.yaml | |||
@@ -140,6 +140,10 @@ storage: | |||
140 | # If not, peertube will fallback to the default file | 140 | # If not, peertube will fallback to the default file |
141 | client_overrides: 'storage/client-overrides/' | 141 | client_overrides: 'storage/client-overrides/' |
142 | 142 | ||
143 | static_files: | ||
144 | # Require and check user authentication when accessing private files (internal/private video files) | ||
145 | private_files_require_auth: true | ||
146 | |||
143 | object_storage: | 147 | object_storage: |
144 | enabled: false | 148 | enabled: false |
145 | 149 | ||
@@ -151,9 +155,17 @@ object_storage: | |||
151 | upload_acl: | 155 | upload_acl: |
152 | # Set this ACL on each uploaded object of public/unlisted videos | 156 | # Set this ACL on each uploaded object of public/unlisted videos |
153 | public: 'public-read' | 157 | public: 'public-read' |
154 | # Set this ACL on each uploaded object of private/internal videos | 158 | # 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 | ||
155 | private: 'private' | 160 | private: 'private' |
156 | 161 | ||
162 | proxy: | ||
163 | # If private files (private/internal video files) have a private ACL, users can't access directly the ressource | ||
164 | # PeerTube can proxify requests between your object storage service and your users | ||
165 | # If you disable PeerTube proxy, ensure you use your own proxy that is able to access the private files | ||
166 | # Or you can also set a public ACL for private files in object storage if you don't want to use a proxy | ||
167 | proxify_private_files: true | ||
168 | |||
157 | credentials: | 169 | credentials: |
158 | # You can also use AWS_ACCESS_KEY_ID env variable | 170 | # You can also use AWS_ACCESS_KEY_ID env variable |
159 | access_key_id: '' | 171 | access_key_id: '' |