Skip to content

Commit

Permalink
enhance: push local to remote
Browse files Browse the repository at this point in the history
  • Loading branch information
LaurenceJJones committed Aug 23, 2024
1 parent 27b8a99 commit 8b30998
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions crowdsec-docs/docs/appsec/quickstart/traefik.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -169,3 +169,31 @@ Instead if you define the configuration using labels on the containers you can a
- "traefik.http.middlewares.crowdsec-bar.plugin.bouncer.crowdsecappsechost=crowdsec:7422"
- "traefik.http.middlewares.crowdsec-bar.plugin.bouncer.crowdsecLapiKey=privateKey-foo"
```
For more comprehensive documentation on the Traefik Plugin configuration, please refer to the [official documentation](https://plugins.traefik.io/plugins/6335346ca4caa9ddeffda116/crowdsec-bouncer-traefik-plugin).
We can't cover all the possible configurations for Traefik in this guide, so please refer to the [official documentation](https://doc.traefik.io/traefik/) for more information.
### Directives
The following directives are available for the Traefik Plugin:
#### `crowdsecAppsecEnabled`
> `bool`

Enable or disable the AppSec Component.

#### `crowdsecAppsecHost`
> `string`

The host and port where the AppSec Component is running.

#### `crowdsecAppsecFailureBlock`
> `bool`

If the AppSec Component returns `500` status code should the request be blocked.

#### `crowdsecAppsecUnreachableBlock`
> `bool`

If the AppSec Component is unreachable should the request be blocked.

0 comments on commit 8b30998

Please sign in to comment.