aboutsummaryrefslogtreecommitdiffhomepage
path: root/config
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-12-16 09:38:27 +0100
committerChocobozzz <me@florianbigard.com>2021-12-16 10:08:55 +0100
commitb65de1be4dcf626c552be613d531d3f6e23c6085 (patch)
tree42c4d7440f9fadee6efb48ad39ccfe1a3bce8511 /config
parent9576506763c20c7efbdb229483440a1fc984cf4d (diff)
downloadPeerTube-b65de1be4dcf626c552be613d531d3f6e23c6085.tar.gz
PeerTube-b65de1be4dcf626c552be613d531d3f6e23c6085.tar.zst
PeerTube-b65de1be4dcf626c552be613d531d3f6e23c6085.zip
Use different p2p policy for embeds and webapp
Diffstat (limited to 'config')
-rw-r--r--config/default.yaml10
-rw-r--r--config/production.yaml.example6
2 files changed, 13 insertions, 3 deletions
diff --git a/config/default.yaml b/config/default.yaml
index 421c19569..e254c2c28 100644
--- a/config/default.yaml
+++ b/config/default.yaml
@@ -93,9 +93,15 @@ defaults:
93 licence: null 93 licence: null
94 94
95 p2p: 95 p2p:
96 # Enable P2P by default 96 # Enable P2P by default in PeerTube client
97 # Can be enabled/disabled by anonymous users and logged in users 97 # Can be enabled/disabled by anonymous users and logged in users
98 enabled: true 98 webapp:
99 enabled: true
100
101 # Enable P2P by default in PeerTube embed
102 # Can be enabled/disabled by URL option
103 embed:
104 enabled: true
99 105
100# From the project root directory 106# From the project root directory
101storage: 107storage:
diff --git a/config/production.yaml.example b/config/production.yaml.example
index 13219fd5d..0ce0b9d0e 100644
--- a/config/production.yaml.example
+++ b/config/production.yaml.example
@@ -93,7 +93,11 @@ defaults:
93 p2p: 93 p2p:
94 # Enable P2P by default 94 # Enable P2P by default
95 # Can be enabled/disabled by anonymous users and logged in users 95 # Can be enabled/disabled by anonymous users and logged in users
96 enabled: true 96 webapp:
97 enabled: true
98
99 embed:
100 enabled: true
97 101
98# From the project root directory 102# From the project root directory
99storage: 103storage: