ActivityPub-federated video streaming platform using P2P directly in your web browser
Cleanup config
Chocobozzzde7f11143f6d
diff --git a/config/default.yaml b/config/default.yamlindex ec96224776..f545382c8a 100644--- a/config/default.yaml+++ b/config/default.yaml@@ -208,8 +208,8 @@ security:tracker:# If you disable the tracker, you disable the P2P aspect of PeerTubeenabled: true- # Only handle requests on your videos.- # If you set this to false it means you have a public tracker.+ # Only handle requests on your videos+ # If you set this to false it means you have a public tracker# Then, it is possible that clients overload your instance with external torrentsprivate: true# Reject peers that do a lot of announces (could improve privacy of TCP/UDP peers)@@ -290,13 +290,14 @@ signup:blacklist: []user:- # Default value of maximum video BYTES the user can upload (does not take into account transcoded files).+ # Default value of maximum video bytes the user can upload (does not take into account transcoded files)+ # Byte format is supported ("1GB" etc)# -1 == unlimitedvideo_quota: -1video_quota_daily: -1# If enabled, the video will be transcoded to mp4 (x264) with `faststart` flag-# In addition, if some resolutions are enabled the mp4 video file will be transcoded to these new resolutions.+# In addition, if some resolutions are enabled the mp4 video file will be transcoded to these new resolutions# Please, do not disable transcoding since many uploaded videos will not worktranscoding:enabled: true@@ -494,7 +495,7 @@ instance:robots: |User-agent: *Disallow:- # Security.txt rules. To discourage researchers from testing your instance and disable security.txt integration, set this to an empty string.+ # Security.txt rules. To discourage researchers from testing your instance and disable security.txt integration, set this to an empty stringsecuritytxt:'# If you would like to report a security issue\n# you may report it to:\nContact: https://github.com/Chocobozzz/PeerTube/blob/develop/SECURITY.md\nContact: mailto:'diff --git a/config/production.yaml.example b/config/production.yaml.exampleindex 588d6a3a58..2e0d029ceb 100644--- a/config/production.yaml.example+++ b/config/production.yaml.example@@ -206,8 +206,8 @@ security:tracker:# If you disable the tracker, you disable the P2P aspect of PeerTubeenabled: true- # Only handle requests on your videos.- # If you set this to false it means you have a public tracker.+ # Only handle requests on your videos+ # If you set this to false it means you have a public tracker# Then, it is possible that clients overload your instance with external torrentsprivate: true# Reject peers that do a lot of announces (could improve privacy of TCP/UDP peers)@@ -266,10 +266,10 @@ webadmin:# From this point, all the following keys can be overridden by the web interface# (local-production.json file). If you need to change some values, prefer to# use the web interface because the configuration will be automatically-# reloaded without any need to restart PeerTube.+# reloaded without any need to restart PeerTube## /!\ If you already have a local-production.json file, the modification of the-# following keys will have no effect /!\.+# following keys will have no effect /!\################################################################################@@ -300,13 +300,14 @@ signup:blacklist: []user:- # Default value of maximum video BYTES the user can upload (does not take into account transcoded files).+ # Default value of maximum video bytes the user can upload (does not take into account transcoded files)+ # Byte format is supported ("1GB" etc)# -1 == unlimitedvideo_quota: -1video_quota_daily: -1# If enabled, the video will be transcoded to mp4 (x264) with `faststart` flag-# In addition, if some resolutions are enabled the mp4 video file will be transcoded to these new resolutions.+# In addition, if some resolutions are enabled the mp4 video file will be transcoded to these new resolutions# Please, do not disable transcoding since many uploaded videos will not worktranscoding:enabled: true@@ -405,6 +406,18 @@ import:http: # Classic HTTP or all sites supported by youtube-dl https://rg3.github.io/youtube-dl/supportedsites.htmlenabled: false+ youtube_dl_release:+ # Direct download URL to youtube-dl binary+ # Github releases API is also supported+ # Examples:+ # * https://api.github.com/repos/ytdl-org/youtube-dl/releases+ # * https://api.github.com/repos/yt-dlp/yt-dlp/releases+ url: 'https://yt-dl.org/downloads/latest/youtube-dl'++ # youtube-dl binary name+ # yt-dlp is also supported+ name: 'youtube-dl'+# IPv6 is very strongly rate-limited on most sites supported by youtube-dlforce_ipv4: false@@ -492,7 +505,7 @@ instance:robots: |User-agent: *Disallow:- # Security.txt rules. To discourage researchers from testing your instance and disable security.txt integration, set this to an empty string.+ # Security.txt rules. To discourage researchers from testing your instance and disable security.txt integration, set this to an empty stringsecuritytxt:'# If you would like to report a security issue\n# you may report it to:\nContact: https://github.com/Chocobozzz/PeerTube/blob/develop/SECURITY.md\nContact: mailto:'