Skip to content

Commit 2e499db

Browse files
committed
nginx bouncer: add missing ENABLE_INTERNAL option
1 parent 97d0696 commit 2e499db

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

crowdsec-docs/unversioned/bouncers/nginx.mdx

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,8 @@ MODE=stream
163163
REQUEST_TIMEOUT=1000
164164
# exclude the bouncing on those location
165165
EXCLUDE_LOCATION=
166+
# process internal request (eg, rewrite)
167+
ENABLE_INTERNAL=false
166168
# Cache expiration in live mode, in second
167169
CACHE_EXPIRATION=1
168170
# Update frequency in stream mode, in second
@@ -406,6 +408,18 @@ The locations to exclude while bouncing. It is a list of location, separated by
406408
407409
:warning: It is not recommended to put `EXCLUDE_LOCATION=/`.
408410
411+
### `ENABLE_INTERNAL`
412+
> bool
413+
414+
```bash
415+
ENABLE_INTERNAL=true
416+
```
417+
418+
Whether to process internal requests or not (after a rewrite for example).
419+
420+
Disabled by default.
421+
422+
409423
### `CACHE_EXPIRATION`
410424
> int
411425

0 commit comments

Comments
 (0)