mirror of
https://gitlab.archlinux.org/archlinux/infrastructure.git
synced 2025-01-18 08:06:16 +01:00
As flyspray has no captcha for registering, we deploy this stop gap measure to stop bots registering spam accounts.
10 lines
226 B
Django/Jinja
10 lines
226 B
Django/Jinja
[nginx-flyspray-register]
|
|
# bots regsiter 1 account per 10 minutes.
|
|
|
|
enabled = true
|
|
filter = nginx-flyspray-register
|
|
logpath = /var/log/nginx/bugs.archlinux.org/access.log
|
|
findtime = 14400 # 4 hours
|
|
bantime = 1d
|
|
maxretry = 20
|