diff --git a/swarm/stack/caddy/Caddyfile b/swarm/stack/caddy/Caddyfile index 2508ba9..f18c07a 100644 --- a/swarm/stack/caddy/Caddyfile +++ b/swarm/stack/caddy/Caddyfile @@ -2,6 +2,7 @@ # GLOBAL BLOCK — add this at the very top before any snippets # ───────────────────────────────────────────────────────────────────────────── { + admin 0.0.0.0:2019 crowdsec { api_url http://crowdsec:8080 api_key {$CROWDSEC_API_KEY} @@ -19,6 +20,8 @@ # CROWDSEC SNIPPET — add alongside existing auth snippets # ───────────────────────────────────────────────────────────────────────────── + + (crowdsec) { route { crowdsec