mirror of
https://github.com/maxlerebourg/crowdsec-bouncer-traefik-plugin.git
synced 2026-07-21 19:48:59 +02:00
📝 Add documentation exemple 4 for vm binary usage (#45)
* 📝 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
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
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
|
||||
Reference in New Issue
Block a user