Create custom forbidden page

Is it possible to customise the forbidden page for crowdsec? I have it installed as a docker container on my server and it throws a blank white page on all my server pages whenever i get banned but i would prefer it showed information to indicate that the IP had been banned

What is the involved bouncer?
If your bouncer is Nginx you can create a ban template: Nginx Bouncer | CrowdSec

Normally the bouncer should show a block page.

If you want to customise the template I created a little bash script tool for it

That me presuming your using nginx bouncer if your using traefik you need to consult the docs

1 Like