Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 31 additions & 1 deletion crowdsec-docs/unversioned/bouncers/ingress-nginx.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import RemediationSupportBadges from "@site/src/components/remediation-support-b
&#128172; <a href="https://discourse.crowdsec.net">Discourse </a>
</p>

<RemediationSupportBadges Mode Appsec Metrics />
<RemediationSupportBadges Mode Appsec Metrics MTLS />

A lua Remediation Component for Ingress Nginx Controller.

Expand Down Expand Up @@ -227,6 +227,36 @@ API_URL=http://<ip>:<port>

CrowdSec local API URL.

### `USE_TLS_AUTH`

> boolean

```bash
USE_TLS_AUTH=false # default
```

Enable mutual TLS (mTLS) authentication for secure communication with CrowdSec Local API. When enabled, the bouncer will use client certificates for authentication instead of API keys.

### `TLS_CLIENT_CERT`

> string (path to file)

```bash
TLS_CLIENT_CERT=<path_to_cert>
```

Path to the client certificate file for mTLS authentication. This option is only used when `USE_TLS_AUTH` is set to `true`.

### `TLS_CLIENT_KEY`

> string (path to file)

```bash
TLS_CLIENT_KEY=<path_to_key>
```

Path to the client certificate's private key file for mTLS authentication. This option is only used when `USE_TLS_AUTH` is set to `true`.

### `BOUNCING_ON_TYPE`

> all | ban | captcha
Expand Down
36 changes: 36 additions & 0 deletions crowdsec-docs/unversioned/bouncers/nginx.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ import RemediationSupportBadges from '@site/src/components/remediation-support-b
Mode
Appsec
Metrics
MTLS
/>

A lua Remediation Component for nginx.
Expand Down Expand Up @@ -185,6 +186,11 @@ SITE_KEY=
CAPTCHA_TEMPLATE_PATH=/var/lib/crowdsec/lua/templates/captcha.html
CAPTCHA_EXPIRATION=3600

# mTLS Configuration
USE_TLS_AUTH=false
TLS_CLIENT_CERT=
TLS_CLIENT_KEY=

## Application Security Component Configuration
APPSEC_URL=
#### default ###
Expand Down Expand Up @@ -378,6 +384,36 @@ API_URL=http://<ip>:<port>

CrowdSec local API URL.

### `USE_TLS_AUTH`

> boolean

```bash
USE_TLS_AUTH=false # default
```

Enable mutual TLS (mTLS) authentication for secure communication with CrowdSec Local API. When enabled, the bouncer will use client certificates for authentication instead of API keys.

### `TLS_CLIENT_CERT`

> string (path to file)

```bash
TLS_CLIENT_CERT=<path_to_cert>
```

Path to the client certificate file for mTLS authentication. This option is only used when `USE_TLS_AUTH` is set to `true`.

### `TLS_CLIENT_KEY`

> string (path to file)

```bash
TLS_CLIENT_KEY=<path_to_key>
```

Path to the client certificate's private key file for mTLS authentication. This option is only used when `USE_TLS_AUTH` is set to `true`.

### `BOUNCING_ON_TYPE`
> all | ban | captcha

Expand Down
35 changes: 35 additions & 0 deletions crowdsec-docs/unversioned/bouncers/openresty.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ import RemediationSupportBadges from '@site/src/components/remediation-support-b
Mode
Appsec
Metrics
MTLS
/>

A lua Remediation Component for OpenResty.
Expand Down Expand Up @@ -163,6 +164,10 @@ SITE_KEY=
CAPTCHA_TEMPLATE_PATH=/var/lib/crowdsec/lua/templates/captcha.html
CAPTCHA_EXPIRATION=3600

# mTLS Configuration
USE_TLS_AUTH=false
TLS_CLIENT_CERT=
TLS_CLIENT_KEY=

## Application Security Component Configuration
APPSEC_URL=
Expand Down Expand Up @@ -367,6 +372,36 @@ API_URL=http://<ip>:<port>

CrowdSec local API URL.

### `USE_TLS_AUTH`

> boolean

```bash
USE_TLS_AUTH=false # default
```

Enable mutual TLS (mTLS) authentication for secure communication with CrowdSec Local API. When enabled, the bouncer will use client certificates for authentication instead of API keys.

### `TLS_CLIENT_CERT`

> string (path to file)

```bash
TLS_CLIENT_CERT=<path_to_cert>
```

Path to the client certificate file for mTLS authentication. This option is only used when `USE_TLS_AUTH` is set to `true`.

### `TLS_CLIENT_KEY`

> string (path to file)

```bash
TLS_CLIENT_KEY=<path_to_key>
```

Path to the client certificate's private key file for mTLS authentication. This option is only used when `USE_TLS_AUTH` is set to `true`.

### `BOUNCING_ON_TYPE`
> all | ban | captcha

Expand Down