I've installed and enabled ipblacklist plugin like this:
traefik.yml
api:
dashboard: true
entryPoints:
http:
address: ":80"
https:
address: ":443"
http:
middlewares:
- my-traefik-plugin-ipblacklist@file
providers:
docker:
endpoint: "unix:///var/run/docker.sock"
exposedByDefault: false
file:
directory: /configuration
watch: true
experimental:
plugins:
traefik-plugin-ipblacklist:
moduleName: "github.com/LyuHe-uestc/traefik-plugin-ipblacklist"
version: "v0.0.2"
configuration/file.yml
http:
middlewares:
my-traefik-plugin-ipblacklist:
plugin:
traefik-plugin-ipblacklist:
SourceRange:
- test_ip/32
what I observe now:
- test ip is correctly banned with 403 status when I try to access traefik dashboard
- All hosts from the docker provider are still accessible
What I need to apply this plugin globally to literally ALL hosts?