Update Proxy_Containers/traefik/traefik.yaml
This commit is contained in:
@@ -37,4 +37,20 @@ experimental:
|
|||||||
plugins:
|
plugins:
|
||||||
fail2ban:
|
fail2ban:
|
||||||
moduleName: "github.com/tomMoulard/fail2ban"
|
moduleName: "github.com/tomMoulard/fail2ban"
|
||||||
version: "v0.8.9"
|
version: "v0.8.9"
|
||||||
|
|
||||||
|
http:
|
||||||
|
middlewares:
|
||||||
|
my-fail2ban:
|
||||||
|
plugin:
|
||||||
|
fail2ban:
|
||||||
|
allowlist:
|
||||||
|
ip: ::1,127.0.0.1
|
||||||
|
denylist:
|
||||||
|
ip: 192.168.0.0/24
|
||||||
|
rules:
|
||||||
|
bantime: 3h
|
||||||
|
enabled: "true"
|
||||||
|
findtime: 10m
|
||||||
|
maxretry: "4"
|
||||||
|
statuscode: 400,401,403-499
|
||||||
|
|||||||
Reference in New Issue
Block a user