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