aboutsummaryrefslogtreecommitdiffhomepage
path: root/config/default.yaml
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-09-20 16:24:31 +0200
committerGitHub <noreply@github.com>2018-09-20 16:24:31 +0200
commit0491173a61aed66205c017e0d7e0503ea316c144 (patch)
treece6621597505f9518cfdf0981977d097c63f9fad /config/default.yaml
parent8704acf49efc770d73bf07c10468ed8c74d28a83 (diff)
parent6247b2057b792cea155a1abd9788c363ae7d2cc2 (diff)
downloadPeerTube-0491173a61aed66205c017e0d7e0503ea316c144.tar.gz
PeerTube-0491173a61aed66205c017e0d7e0503ea316c144.tar.zst
PeerTube-0491173a61aed66205c017e0d7e0503ea316c144.zip
Merge branch 'develop' into cli-wrapper
Diffstat (limited to 'config/default.yaml')
-rw-r--r--config/default.yaml17
1 files changed, 13 insertions, 4 deletions
diff --git a/config/default.yaml b/config/default.yaml
index af29a4379..fa1fb628a 100644
--- a/config/default.yaml
+++ b/config/default.yaml
@@ -71,9 +71,18 @@ trending:
71# Once you have defined your strategies, choose which instances you want to cache in admin -> manage follows -> following 71# Once you have defined your strategies, choose which instances you want to cache in admin -> manage follows -> following
72redundancy: 72redundancy:
73 videos: 73 videos:
74# - 74 check_interval: '1 hour' # How often you want to check new videos to cache
75# size: '10GB' 75 strategies:
76# strategy: 'most-views' # Cache videos that have the most views 76# -
77# size: '10GB'
78# strategy: 'most-views' # Cache videos that have the most views
79# -
80# size: '10GB'
81# strategy: 'trending' # Cache trending videos
82# -
83# size: '10GB'
84# strategy: 'recently-added' # Cache recently added videos
85# minViews: 10 # Having at least x views
77 86
78cache: 87cache:
79 previews: 88 previews:
@@ -135,7 +144,7 @@ instance:
135 # Robot.txt rules. To disallow robots to crawl your instance and disallow indexation of your site, add '/' to "Disallow:' 144 # Robot.txt rules. To disallow robots to crawl your instance and disallow indexation of your site, add '/' to "Disallow:'
136 robots: | 145 robots: |
137 User-agent: * 146 User-agent: *
138 Disallow: '' 147 Disallow:
139 # Security.txt rules. To discourage researchers from testing your instance and disable security.txt integration, set this to an empty string. 148 # Security.txt rules. To discourage researchers from testing your instance and disable security.txt integration, set this to an empty string.
140 securitytxt: 149 securitytxt:
141 "# 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:" 150 "# 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:"