Last active
May 29, 2021 10:35
-
-
Save dileep57/4ff566df1dba88bb6cd3d64e309ba5fc to your computer and use it in GitHub Desktop.
Fail2ban Jail Config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[nginx-level-banip] | |
enabled = true | |
filter = auth-reverse-pxy | |
port = http,https | |
action = authentication-action[name=serverAuthApis, port="http,https"] | |
sendmail-whois[name=serverAuthApis, [email protected]] | |
logpath = /home/ec2-user/fail2ban/access.log | |
maxretry = 20 | |
findtime = 60 | |
bantime = 1800 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment