mirror of
https://github.com/maxlerebourg/crowdsec-bouncer-traefik-plugin.git
synced 2026-07-21 11:38:59 +02:00
Merge remote-tracking branch 'origin' into 20-implement-shared-cache-with-an-external-redis-as-an-option
This commit is contained in:
@@ -49,6 +49,9 @@ At each start of synchronisation, the middleware will wait a random number of se
|
||||
- Enabled
|
||||
- bool
|
||||
- enable the plugin
|
||||
- LogLevel
|
||||
- string
|
||||
- default: `INFO`, expected value are: `INFO`, `DEBUG`
|
||||
- CrowdsecMode
|
||||
- string
|
||||
- default: `live`, expected value are: `none`, `live`, `stream`
|
||||
@@ -74,6 +77,10 @@ At each start of synchronisation, the middleware will wait a random number of se
|
||||
- []string
|
||||
- default: []
|
||||
- List of IPs of trusted Proxies that are in front of traefik (ex: Cloudflare)
|
||||
- ForwardedHeadersCustomName
|
||||
- string
|
||||
- default: X-Forwarded-For
|
||||
- Name of the header where the real IP of the client should be retrieved
|
||||
|
||||
### Configuration
|
||||
|
||||
@@ -116,13 +123,14 @@ http:
|
||||
enabled: false
|
||||
updateIntervalSeconds: 60
|
||||
defaultDecisionSeconds: 60
|
||||
crowdsecMode: stream
|
||||
crowdsecMode: live
|
||||
crowdsecLapiKey: privateKey
|
||||
crowdsecLapiHost: crowdsec:8080
|
||||
crowdsecLapiScheme: http
|
||||
forwardedHeadersTrustedIPs:
|
||||
- 10.0.10.23/32
|
||||
- 10.0.20.0/24
|
||||
forwardedHeadersCustomName: X-Custom-Header
|
||||
```
|
||||
These are the default values of the plugin except for LapiKey.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user