Jul 22 - Update protect admin page with fail2ban
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
# fail2ban jail for JQC Features admin.
|
||||
# Install to: /etc/fail2ban/jail.d/jqc-admin.local
|
||||
#
|
||||
# Bans an IP after `maxretry` failed admin logins within `findtime` seconds.
|
||||
# Adjust logpath to your deployment directory.
|
||||
|
||||
[jqc-admin]
|
||||
enabled = true
|
||||
filter = jqc-admin
|
||||
port = http,https
|
||||
logpath = /home/jqc/jqc_features/logs/auth.log
|
||||
maxretry = 5
|
||||
findtime = 600
|
||||
bantime = 3600
|
||||
# Optional: escalate repeat offenders (uncomment if using fail2ban >= 0.11)
|
||||
# bantime.increment = true
|
||||
Reference in New Issue
Block a user