diff options
Diffstat (limited to 'config/default.yaml')
-rw-r--r-- | config/default.yaml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/config/default.yaml b/config/default.yaml index 10d3f79e7..53d8c45de 100644 --- a/config/default.yaml +++ b/config/default.yaml | |||
@@ -36,6 +36,26 @@ rates_limit: | |||
36 | # 10 attempts in 10 min | 36 | # 10 attempts in 10 min |
37 | window: 10 minutes | 37 | window: 10 minutes |
38 | max: 10 | 38 | max: 10 |
39 | plugins: | ||
40 | # 500 attempts in 10 seconds (we also serve plugin static files) | ||
41 | window: 10 seconds | ||
42 | max: 500 | ||
43 | well_known: | ||
44 | # 200 attempts in 10 seconds | ||
45 | window: 10 seconds | ||
46 | max: 200 | ||
47 | feeds: | ||
48 | # 50 attempts in 10 seconds | ||
49 | window: 10 seconds | ||
50 | max: 50 | ||
51 | activity_pub: | ||
52 | # 500 attempts in 10 seconds (we can have many AP requests) | ||
53 | window: 10 seconds | ||
54 | max: 500 | ||
55 | client: # HTML files generated by PeerTube | ||
56 | # 500 attempts in 10 seconds (to not break crawlers) | ||
57 | window: 10 seconds | ||
58 | max: 500 | ||
39 | 59 | ||
40 | oauth2: | 60 | oauth2: |
41 | token_lifetime: | 61 | token_lifetime: |