diff options
Diffstat (limited to 'config/production.yaml.example')
-rw-r--r-- | config/production.yaml.example | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/config/production.yaml.example b/config/production.yaml.example index cdf6136d8..f55f5c096 100644 --- a/config/production.yaml.example +++ b/config/production.yaml.example | |||
@@ -9,10 +9,18 @@ webserver: | |||
9 | port: 443 | 9 | port: 443 |
10 | 10 | ||
11 | rates_limit: | 11 | rates_limit: |
12 | api: | ||
13 | # 50 attempts in 10 seconds | ||
14 | window: 10 seconds | ||
15 | max: 50 | ||
12 | login: | 16 | login: |
13 | # 15 attempts in 5 min | 17 | # 15 attempts in 5 min |
14 | window: 5 minutes | 18 | window: 5 minutes |
15 | max: 15 | 19 | max: 15 |
20 | signup: | ||
21 | # 2 attempts in 5 min (only succeeded attempts are taken into account) | ||
22 | window: 5 minutes | ||
23 | max: 2 | ||
16 | ask_send_email: | 24 | ask_send_email: |
17 | # 3 attempts in 5 min | 25 | # 3 attempts in 5 min |
18 | window: 5 minutes | 26 | window: 5 minutes |