From a9bfa85d2cdf13670aaced740da5b493fbeddfce Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 15 Dec 2021 15:58:10 +0100 Subject: Add ability for admins to set default p2p policy --- config/default.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'config/default.yaml') diff --git a/config/default.yaml b/config/default.yaml index fbe0dbbfb..421c19569 100644 --- a/config/default.yaml +++ b/config/default.yaml @@ -92,6 +92,11 @@ defaults: # No licence by default licence: null + p2p: + # Enable P2P by default + # Can be enabled/disabled by anonymous users and logged in users + enabled: true + # From the project root directory storage: tmp: 'storage/tmp/' # Use to download data (imports etc), store uploaded files before and during processing... @@ -216,7 +221,7 @@ security: enabled: true tracker: - # If you disable the tracker, you disable the P2P aspect of PeerTube + # If you disable the tracker, you disable the P2P on your PeerTube instance enabled: true # Only handle requests on your videos # If you set this to false it means you have a public tracker -- cgit v1.2.3