mirror of
https://github.com/maxlerebourg/crowdsec-bouncer-traefik-plugin.git
synced 2025-11-08 15:15:05 +01:00
* 📝 Add documentation exemple 4 for vm binary usage * :hammer:Update binary version * 🔨 update * 🔨 update * 🚧 Working Crowdsec with tls auth * 🐛 Add changes to download the plugin from the service * 🔧 Add config middle for https * 🔧 Update config for the exemple * 🔧 Add conf for certs, working example * 📝 Add doc for binary vm Readme * 📝 update documentation for exemple and make * 🚨 Fix lint * 🚨 Fix Lint End of File
32 lines
922 B
YAML
32 lines
922 B
YAML
http:
|
|
routers:
|
|
to-whoami-http-service:
|
|
rule: "PathPrefix(`/`)"
|
|
service: whoami-service
|
|
middlewares:
|
|
- "crowdsec-whoami"
|
|
entryPoints:
|
|
- web
|
|
|
|
services:
|
|
whoami-service:
|
|
loadBalancer:
|
|
servers:
|
|
- url: "http://localhost:9000/"
|
|
|
|
middlewares:
|
|
crowdsec-whoami:
|
|
plugin:
|
|
bouncer:
|
|
enabled: true
|
|
crowdseclapikey: whoami-demo
|
|
updateintervalseconds: 60
|
|
crowdsecmode: live
|
|
loglevel: "DEBUG"
|
|
crowdsecLapiScheme: https
|
|
crowdsecLapiHost: localhost:8080
|
|
crowdsecLapiTLSInsecureVerify: false
|
|
crowdsecLapiTLSCertificateAuthorityFile: /etc/traefik/crowdsec-certs/inter.pem
|
|
crowdsecLapiTLSCertificateBouncerFile: /etc/traefik/crowdsec-certs/bouncer.pem
|
|
crowdsecLapiTLSCertificateBouncerKeyFile: /etc/traefik/crowdsec-certs/bouncer-key.pem
|