aboutsummaryrefslogtreecommitdiffhomepage
path: root/config
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-04-07 15:27:41 +0200
committerChocobozzz <me@florianbigard.com>2020-04-07 15:32:20 +0200
commit8c9e7875269a990ed3000e1d4995d808e4ff50f7 (patch)
tree896f60aedf0fac0dc64b57ff76a63e7a718c0a5b /config
parentbc30363602ad504d784662a9373c0a114d05042c (diff)
downloadPeerTube-8c9e7875269a990ed3000e1d4995d808e4ff50f7.tar.gz
PeerTube-8c9e7875269a990ed3000e1d4995d808e4ff50f7.tar.zst
PeerTube-8c9e7875269a990ed3000e1d4995d808e4ff50f7.zip
Add ability to accept or not remote redundancies
Diffstat (limited to 'config')
-rw-r--r--config/default.yaml8
-rw-r--r--config/production.yaml.example8
2 files changed, 16 insertions, 0 deletions
diff --git a/config/default.yaml b/config/default.yaml
index 1a8b19136..0b096cf8d 100644
--- a/config/default.yaml
+++ b/config/default.yaml
@@ -126,6 +126,14 @@ redundancy:
126# strategy: 'recently-added' # Cache recently added videos 126# strategy: 'recently-added' # Cache recently added videos
127# min_views: 10 # Having at least x views 127# min_views: 10 # Having at least x views
128 128
129# Other instances that duplicate your content
130remote_redundancy:
131 videos:
132 # 'nobody': Do not accept remote redundancies
133 # 'anybody': Accept remote redundancies from anybody
134 # 'followings': Accept redundancies from instance followings
135 accept_from: 'anybody'
136
129csp: 137csp:
130 enabled: false 138 enabled: false
131 report_only: true # CSP directives are still being tested, so disable the report only mode at your own risk! 139 report_only: true # CSP directives are still being tested, so disable the report only mode at your own risk!
diff --git a/config/production.yaml.example b/config/production.yaml.example
index 30cd2ffe0..b6f7d1913 100644
--- a/config/production.yaml.example
+++ b/config/production.yaml.example
@@ -127,6 +127,14 @@ redundancy:
127# strategy: 'recently-added' # Cache recently added videos 127# strategy: 'recently-added' # Cache recently added videos
128# min_views: 10 # Having at least x views 128# min_views: 10 # Having at least x views
129 129
130# Other instances that duplicate your content
131remote_redundancy:
132 videos:
133 # 'nobody': Do not accept remote redundancies
134 # 'anybody': Accept remote redundancies from anybody
135 # 'followings': Accept redundancies from instance followings
136 accept_from: 'anybody'
137
130csp: 138csp:
131 enabled: false 139 enabled: false
132 report_only: true # CSP directives are still being tested, so disable the report only mode at your own risk! 140 report_only: true # CSP directives are still being tested, so disable the report only mode at your own risk!