diff options
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: '' |