caddy-crowdsec-bouncer
caddy-crowdsec-bouncer copied to clipboard
Improve example logging configuration for CrowdSec ingestion
As discussed in #9, the example configuration that's currently available in this repo is out of date. We should update it to reflect the current state of things.
Currently native caddy json format does not work. Only transofmring to apache2 logs does. See: https://github.com/hslatman/caddy-crowdsec-bouncer/issues/9
My project https://github.com/Simbiat/simbiat.ru uses JSON5 config for Caddy, which Caddy adapts, and I do not see any issues with the logs ingestion at the moment. At least when I ban myself in CrowdSec, I am getting appropriate 403 without issues.