Set up fail2ban for nginx, move IPFS gateway to proxy role
This commit is contained in:
4
cookbooks/fail2ban/templates/slack.conf.erb
Normal file
4
cookbooks/fail2ban/templates/slack.conf.erb
Normal file
@@ -0,0 +1,4 @@
|
||||
[Definition]
|
||||
|
||||
actionban = /bin/bash /etc/fail2ban/slack_notify.sh "Banned _country_ <ip> in the jail <name> after <failures> attempts" "<ip>" > /dev/null 2>&1
|
||||
actionunban = /bin/bash /etc/fail2ban/slack_notify.sh "Unbanned _country_ <ip> in the jail <name>" "<ip>" > /dev/null 2>&1
|
||||
Reference in New Issue
Block a user