aboutsummaryrefslogtreecommitdiffhomepage
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/default.yaml10
-rw-r--r--config/production.yaml.example10
2 files changed, 20 insertions, 0 deletions
diff --git a/config/default.yaml b/config/default.yaml
index 0d6e34d86..617159c2c 100644
--- a/config/default.yaml
+++ b/config/default.yaml
@@ -101,6 +101,16 @@ csp:
101 report_only: true # CSP directives are still being tested, so disable the report only mode at your own risk! 101 report_only: true # CSP directives are still being tested, so disable the report only mode at your own risk!
102 report_uri: 102 report_uri:
103 103
104tracker:
105 # If you disable the tracker, you disable the P2P aspect of PeerTube
106 enabled: true
107 # Only handle requests on your videos.
108 # If you set this to false it means you have a public tracker.
109 # Then, it is possible that clients overload your instance with external torrents
110 private: true
111 # Reject peers that do a lot of announces (could improve privacy of TCP/UDP peers)
112 reject_too_many_announces: false
113
104cache: 114cache:
105 previews: 115 previews:
106 size: 500 # Max number of previews you want to cache 116 size: 500 # Max number of previews you want to cache
diff --git a/config/production.yaml.example b/config/production.yaml.example
index 5029cc25b..dd5c9769b 100644
--- a/config/production.yaml.example
+++ b/config/production.yaml.example
@@ -102,6 +102,16 @@ csp:
102 report_only: true # CSP directives are still being tested, so disable the report only mode at your own risk! 102 report_only: true # CSP directives are still being tested, so disable the report only mode at your own risk!
103 report_uri: 103 report_uri:
104 104
105tracker:
106 # If you disable the tracker, you disable the P2P aspect of PeerTube
107 enabled: true
108 # Only handle requests on your videos.
109 # If you set this to false it means you have a public tracker.
110 # Then, it is possible that clients overload your instance with external torrents
111 private: true
112 # Reject peers that do a lot of announces (could improve privacy of TCP/UDP peers)
113 reject_too_many_announces: false
114
105 115
106############################################################################### 116###############################################################################
107# 117#