Skip to content

Commit a3aeb93

Browse files
committed
fix(nginx/vars): update Nginx variable documentation for clarity
- Revised variable names to use "crowdsec_" prefix for consistency - Added explanations for enabling/disabling bouncer and appsec features
1 parent 831c782 commit a3aeb93

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

crowdsec-docs/unversioned/bouncers/nginx.mdx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -644,6 +644,7 @@ The timeout to process the request from the Remediation Component to the AppSec
644644
### Nginx variables
645645
646646
Nginx variables can be used to adapt behaviour and or more flexible configurations:
647-
* ngx.var.cs_disable_bouncer: set to 1, it will disable the bouncer
648-
* ngx.var.enable_appsec: set to 1, it will enable the appsec even if it's disabled by configuration or if bouncer is disabled
649-
* ngx.var.disable_appsec: set to 1, it will disable the appsec
647+
* ngx.var.crowdsec_enable_bouncer: set to 1, it will enable the bouncer even if it's not enabled in the bouncer configuration file
648+
* ngx.var.crowdsec_disable_bouncer: set to 1, it will inconditionnally disable the bouncer
649+
* ngx.var.crowdsec_enable_appsec: set to 1, it will enable the appsec even if it's not enabled in the bouncer configuration file
650+
* ngx.var.crowdsec_disable_appsec: set to 1, it will inconditionally disable the appsec

0 commit comments

Comments
 (0)