aboutsummaryrefslogtreecommitdiffhomepage
path: root/config
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-02-09 08:58:40 +0100
committerChocobozzz <me@florianbigard.com>2022-02-09 11:54:18 +0100
commit474542d7ac60f7860daf9ea34d1c31968f43ab29 (patch)
treec3e19095e19930d3955ce8d56d8c099bdda17923 /config
parentba8a8367e7fde7915ae6633445bf46ebf4a9fe94 (diff)
downloadPeerTube-474542d7ac60f7860daf9ea34d1c31968f43ab29.tar.gz
PeerTube-474542d7ac60f7860daf9ea34d1c31968f43ab29.tar.zst
PeerTube-474542d7ac60f7860daf9ea34d1c31968f43ab29.zip
Add additional checks when importing a video
Diffstat (limited to 'config')
-rw-r--r--config/default.yaml10
-rw-r--r--config/production.yaml.example10
2 files changed, 16 insertions, 4 deletions
diff --git a/config/default.yaml b/config/default.yaml
index 2b0419535..23be08f85 100644
--- a/config/default.yaml
+++ b/config/default.yaml
@@ -431,7 +431,10 @@ import:
431 # Amount of import jobs to execute in parallel 431 # Amount of import jobs to execute in parallel
432 concurrency: 1 432 concurrency: 1
433 433
434 http: # Classic HTTP or all sites supported by youtube-dl https://rg3.github.io/youtube-dl/supportedsites.html 434 # Classic HTTP or all sites supported by youtube-dl https://rg3.github.io/youtube-dl/supportedsites.html
435 http:
436 # We recommend to use a HTTP proxy if you enable HTTP import to prevent private URL access from this server
437 # See https://docs.joinpeertube.org/maintain-configuration?id=security for more information
435 enabled: false 438 enabled: false
436 439
437 youtube_dl_release: 440 youtube_dl_release:
@@ -452,7 +455,10 @@ import:
452 # IPv6 is very strongly rate-limited on most sites supported by youtube-dl 455 # IPv6 is very strongly rate-limited on most sites supported by youtube-dl
453 force_ipv4: false 456 force_ipv4: false
454 457
455 torrent: # Magnet URI or torrent file (use classic TCP/UDP/WebSeed to download the file) 458 # Magnet URI or torrent file (use classic TCP/UDP/WebSeed to download the file)
459 torrent:
460 # We recommend to only enable magnet URI/torrent import if you trust your users
461 # See https://docs.joinpeertube.org/maintain-configuration?id=security for more information
456 enabled: false 462 enabled: false
457 463
458auto_blacklist: 464auto_blacklist:
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
466auto_blacklist: 472auto_blacklist: