- crowdsec stack on lava reading Caddy's access log (logs/ subpath only), collections caddy, http-cve, base-http-scenarios, appsec-virtual-patching; AppSec listener on :7422; allowlist for lava, Tailscale, the server - caddy_custom switch (image + plugin directives), staged by caddy_crowdsec_enforce / caddy_appsec / caddy_ratelimit; all off, so the rendered config is unchanged in effect - (protect) on every site, (ratelimit_login) on login paths, both empty until enabled; caddy recreated when compose.yml or .env changes Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
9 lines
197 B
Django/Jinja
9 lines
197 B
Django/Jinja
# AppSec endpoint for the Caddy bouncer; reachable only on lava.
|
|
source: appsec
|
|
name: caddy-appsec
|
|
listen_addr: 0.0.0.0:7422
|
|
appsec_configs:
|
|
- crowdsecurity/appsec-default
|
|
labels:
|
|
type: appsec
|