diff options
author | Chocobozzz <me@florianbigard.com> | 2021-12-15 15:58:10 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-12-16 10:08:55 +0100 |
commit | a9bfa85d2cdf13670aaced740da5b493fbeddfce (patch) | |
tree | 3781c9218d4cc7786b6589365c0efbed2151703d /config/default.yaml | |
parent | c77fdc605b3ccc1ab6890f889d8200fbe9372949 (diff) | |
download | PeerTube-a9bfa85d2cdf13670aaced740da5b493fbeddfce.tar.gz PeerTube-a9bfa85d2cdf13670aaced740da5b493fbeddfce.tar.zst PeerTube-a9bfa85d2cdf13670aaced740da5b493fbeddfce.zip |
Add ability for admins to set default p2p policy
Diffstat (limited to 'config/default.yaml')
-rw-r--r-- | config/default.yaml | 7 |
1 files changed, 6 insertions, 1 deletions
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: | |||
92 | # No licence by default | 92 | # No licence by default |
93 | licence: null | 93 | licence: null |
94 | 94 | ||
95 | p2p: | ||
96 | # Enable P2P by default | ||
97 | # Can be enabled/disabled by anonymous users and logged in users | ||
98 | enabled: true | ||
99 | |||
95 | # From the project root directory | 100 | # From the project root directory |
96 | storage: | 101 | storage: |
97 | tmp: 'storage/tmp/' # Use to download data (imports etc), store uploaded files before and during processing... | 102 | tmp: 'storage/tmp/' # Use to download data (imports etc), store uploaded files before and during processing... |
@@ -216,7 +221,7 @@ security: | |||
216 | enabled: true | 221 | enabled: true |
217 | 222 | ||
218 | tracker: | 223 | tracker: |
219 | # If you disable the tracker, you disable the P2P aspect of PeerTube | 224 | # If you disable the tracker, you disable the P2P on your PeerTube instance |
220 | enabled: true | 225 | enabled: true |
221 | # Only handle requests on your videos | 226 | # Only handle requests on your videos |
222 | # If you set this to false it means you have a public tracker | 227 | # If you set this to false it means you have a public tracker |