aboutsummaryrefslogtreecommitdiffhomepage
path: root/config/default.yaml
diff options
context:
space:
mode:
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:"