diff options
Diffstat (limited to 'config/production.yaml.example')
-rw-r--r-- | config/production.yaml.example | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/config/production.yaml.example b/config/production.yaml.example index ddd43093f..4d8752206 100644 --- a/config/production.yaml.example +++ b/config/production.yaml.example | |||
@@ -72,9 +72,18 @@ trending: | |||
72 | # Once you have defined your strategies, choose which instances you want to cache in admin -> manage follows -> following | 72 | # Once you have defined your strategies, choose which instances you want to cache in admin -> manage follows -> following |
73 | redundancy: | 73 | redundancy: |
74 | videos: | 74 | videos: |
75 | # - | 75 | check_interval: '1 hour' # How often you want to check new videos to cache |
76 | # size: '10GB' | 76 | strategies: |
77 | # strategy: 'most-views' # Cache videos that have the most views | 77 | # - |
78 | # size: '10GB' | ||
79 | # strategy: 'most-views' # Cache videos that have the most views | ||
80 | # - | ||
81 | # size: '10GB' | ||
82 | # strategy: 'trending' # Cache trending videos | ||
83 | # - | ||
84 | # size: '10GB' | ||
85 | # strategy: 'recently-added' # Cache recently added videos | ||
86 | # minViews: 10 # Having at least x views | ||
78 | 87 | ||
79 | ############################################################################### | 88 | ############################################################################### |
80 | # | 89 | # |
@@ -149,7 +158,7 @@ instance: | |||
149 | # Robot.txt rules. To disallow robots to crawl your instance and disallow indexation of your site, add '/' to "Disallow:' | 158 | # Robot.txt rules. To disallow robots to crawl your instance and disallow indexation of your site, add '/' to "Disallow:' |
150 | robots: | | 159 | robots: | |
151 | User-agent: * | 160 | User-agent: * |
152 | Disallow: '' | 161 | Disallow: |
153 | # Security.txt rules. To discourage researchers from testing your instance and disable security.txt integration, set this to an empty string. | 162 | # Security.txt rules. To discourage researchers from testing your instance and disable security.txt integration, set this to an empty string. |
154 | securitytxt: | 163 | securitytxt: |
155 | "# 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:" | 164 | "# 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:" |