fix(traefik): upgrade fail2ban plugin to v0.9.0 and fix config schema
v0.7.1 caused 403 on all routes. v0.9.0 renamed whitelist→allowlist, changed ip to a comma-separated string, and added enabled/statuscode fields. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -3,13 +3,11 @@ http:
|
||||
fail2ban:
|
||||
plugin:
|
||||
fail2ban:
|
||||
allowlist:
|
||||
ip: "127.0.0.1/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16,::1"
|
||||
rules:
|
||||
bantime: "3h"
|
||||
findtime: "10m"
|
||||
maxretry: 5
|
||||
whitelist:
|
||||
ip:
|
||||
- "127.0.0.1/8"
|
||||
- "10.0.0.0/8"
|
||||
- "172.16.0.0/12"
|
||||
- "192.168.0.0/16"
|
||||
enabled: true
|
||||
statuscode: "400,401,403-499"
|
||||
|
||||
Reference in New Issue
Block a user