diff options
author | Chocobozzz <me@florianbigard.com> | 2022-02-09 08:58:40 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-02-09 11:54:18 +0100 |
commit | 474542d7ac60f7860daf9ea34d1c31968f43ab29 (patch) | |
tree | c3e19095e19930d3955ce8d56d8c099bdda17923 /config/production.yaml.example | |
parent | ba8a8367e7fde7915ae6633445bf46ebf4a9fe94 (diff) | |
download | PeerTube-474542d7ac60f7860daf9ea34d1c31968f43ab29.tar.gz PeerTube-474542d7ac60f7860daf9ea34d1c31968f43ab29.tar.zst PeerTube-474542d7ac60f7860daf9ea34d1c31968f43ab29.zip |
Add additional checks when importing a video
Diffstat (limited to 'config/production.yaml.example')
-rw-r--r-- | config/production.yaml.example | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/config/production.yaml.example b/config/production.yaml.example index 893ccc33e..675801caa 100644 --- a/config/production.yaml.example +++ b/config/production.yaml.example | |||
@@ -439,7 +439,10 @@ import: | |||
439 | # Amount of import jobs to execute in parallel | 439 | # Amount of import jobs to execute in parallel |
440 | concurrency: 1 | 440 | concurrency: 1 |
441 | 441 | ||
442 | http: # Classic HTTP or all sites supported by youtube-dl https://rg3.github.io/youtube-dl/supportedsites.html | 442 | # Classic HTTP or all sites supported by youtube-dl https://rg3.github.io/youtube-dl/supportedsites.html |
443 | http: | ||
444 | # We recommend to use a HTTP proxy if you enable HTTP import to prevent private URL access from this server | ||
445 | # See https://docs.joinpeertube.org/maintain-configuration?id=security for more information | ||
443 | enabled: false | 446 | enabled: false |
444 | 447 | ||
445 | youtube_dl_release: | 448 | youtube_dl_release: |
@@ -460,7 +463,10 @@ import: | |||
460 | # IPv6 is very strongly rate-limited on most sites supported by youtube-dl | 463 | # IPv6 is very strongly rate-limited on most sites supported by youtube-dl |
461 | force_ipv4: false | 464 | force_ipv4: false |
462 | 465 | ||
463 | torrent: # Magnet URI or torrent file (use classic TCP/UDP/WebSeed to download the file) | 466 | # Magnet URI or torrent file (use classic TCP/UDP/WebSeed to download the file) |
467 | torrent: | ||
468 | # We recommend to only enable magnet URI/torrent import if you trust your users | ||
469 | # See https://docs.joinpeertube.org/maintain-configuration?id=security for more information | ||
464 | enabled: false | 470 | enabled: false |
465 | 471 | ||
466 | auto_blacklist: | 472 | auto_blacklist: |