Skip to content
Snippets Groups Projects

Fail2ban max retry variable pour la jail traefik

Merged Elian Loraux requested to merge servicesdesk-207-maxretry-fail2ban into master
All threads resolved!
2 files
+ 5
0
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -5,6 +5,7 @@ cat <<EOF > /etc/fail2ban/jail.d/nocloud_traefik.conf
@@ -5,6 +5,7 @@ cat <<EOF > /etc/fail2ban/jail.d/nocloud_traefik.conf
enabled = true
enabled = true
logpath = /home/dockerweb/traefik/log/access.log
logpath = /home/dockerweb/traefik/log/access.log
chain = DOCKER-USER
chain = DOCKER-USER
 
maxretry = ${FAIL2BAN_TRAEFIK_MAXRETRY:-15}
mode = aggressive
mode = aggressive
findtime = 4h
findtime = 4h
banaction = docker-page
banaction = docker-page
Loading