From 5a122dddc5aab1b2ae1843411032d5f392bdd216 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 26 Oct 2022 16:23:39 +0200 Subject: Option to disable static files auth check/s3 proxy --- config/default.yaml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'config') 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: # If not, peertube will fallback to the default file client_overrides: 'storage/client-overrides/' +static_files: + # Require and check user authentication when accessing private files (internal/private video files) + private_files_require_auth: true + object_storage: enabled: false @@ -151,9 +155,17 @@ object_storage: upload_acl: # Set this ACL on each uploaded object of public/unlisted videos public: 'public-read' - # Set this ACL on each uploaded object of private/internal videos + # Set this ACL on each uploaded object of private/internal videos + # PeerTube can proxify requests to private objects so your users can access them private: 'private' + proxy: + # If private files (private/internal video files) have a private ACL, users can't access directly the ressource + # PeerTube can proxify requests between your object storage service and your users + # If you disable PeerTube proxy, ensure you use your own proxy that is able to access the private files + # Or you can also set a public ACL for private files in object storage if you don't want to use a proxy + proxify_private_files: true + credentials: # You can also use AWS_ACCESS_KEY_ID env variable access_key_id: '' -- cgit v1.2.3