chore: add crowdsec bouncer

This commit is contained in:
LRVT 2024-10-22 02:32:57 +02:00 committed by GitHub
parent 0861b707bd
commit d8b2217cc8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -12,6 +12,13 @@ api:
log: log:
level: INFO level: INFO
# crowdsec bouncer
#experimental:
# plugins:
# bouncer:
# moduleName: github.com/maxlerebourg/crowdsec-bouncer-traefik-plugin
# version: v1.2.1
#metrics: #metrics:
# influxDB2: # influxDB2:
# address: http://influxdb2:8086 # address: http://influxdb2:8086
@ -102,6 +109,7 @@ entryPoints:
middlewares: middlewares:
- security-headers@file # reference to a dynamic middleware for setting http security headers per default - security-headers@file # reference to a dynamic middleware for setting http security headers per default
- rate-limit@file # reference to a dynamic middleware for enabling rate limiting per default - rate-limit@file # reference to a dynamic middleware for enabling rate limiting per default
#- crowdsec@file # reference to a dynamic middleware for enabling crowdsec bouncer
providers: providers:
providersThrottleDuration: 2s providersThrottleDuration: 2s