Skip to content

Commit 34f9c36

Browse files
authored
Update traefik.mdx
Since the default for Enabled is false, Enabled has to be set to true
1 parent fa949ee commit 34f9c36

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

crowdsec-docs/docs/appsec/quickstart/traefik.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ http:
157157
crowdsec:
158158
plugin:
159159
bouncer:
160+
enabled: true
160161
crowdsecAppsecEnabled: true
161162
crowdsecAppsecHost: crowdsec:7422
162163
crowdsecAppsecFailureBlock: true
@@ -168,6 +169,7 @@ Instead if you define the configuration using labels on the containers you can a
168169
169170
```yaml
170171
labels:
172+
- "traefik.http.middlewares.crowdsec-bar.plugin.bouncer.enabled=true"
171173
- "traefik.http.middlewares.crowdsec-bar.plugin.bouncer.crowdsecAppsecEnabled=true"
172174
- "traefik.http.middlewares.crowdsec-bar.plugin.bouncer.crowdsecAppsecHost=crowdsec:7422"
173175
- "traefik.http.middlewares.crowdsec-bar.plugin.bouncer.crowdsecLapiKey=privateKey-foo"

0 commit comments

Comments
 (0)