Skip to content

Commit ef397fd

Browse files
authored
Fix examples in ingress-nginx bouncer (#738)
1 parent 608624c commit ef397fd

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

crowdsec-docs/unversioned/bouncers/ingress-nginx.mdx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -76,23 +76,23 @@ controller:
7676
- name: SITE_KEY
7777
value: "<your-captcha-site-key>" # If you want captcha support otherwise remove this ENV VAR
7878
- name: BAN_TEMPLATE_PATH
79-
value: /etc/nginx/lua/plugins/crowdsec/templates/ban.html
79+
value: "/etc/nginx/lua/plugins/crowdsec/templates/ban.html"
8080
- name: CAPTCHA_TEMPLATE_PATH
81-
value: /etc/nginx/lua/plugins/crowdsec/templates/captcha.html
81+
value: "/etc/nginx/lua/plugins/crowdsec/templates/captcha.html"
8282
## Appsec configuration, optional.
8383
## Remove this section if not using appsec
8484
- name: APPSEC_URL
85-
value: "http://appsec-service.crowdsec.svc.cluster.local:7422" # if using our helm chart, and running the appsec in the "crowdsec" namespace
85+
value: "http://crowdsec-appsec-service.crowdsec.svc.cluster.local:7422" # if using our helm chart with "crowdsec" release name, and running the appsec in the "crowdsec" namespace
8686
- name: APPSEC_FAILURE_ACTION
87-
value: passthrough # What to do if the appsec is down, optional
87+
value: "passthrough" # What to do if the appsec is down, optional
8888
- name: APPSEC_CONNECT_TIMEOUT # connection timeout to the appsec, in ms, optionial
89-
value: 100
89+
value: "100"
9090
- name: APPSEC_SEND_TIMEOUT # write timeout to the appsec, in ms, optional
91-
value: 100
91+
value: "100"
9292
- name: APPSEC_PROCESS_TIMEOUT # max processing duration of the request, in ms, optional
93-
value: 1000
93+
value: "1000"
9494
- name: ALWAYS_SEND_TO_APPSEC
95-
value: false # always send requests to the appsec, even if there's a decision against the IP, optional
95+
value: "false" # always send requests to the appsec, even if there's a decision against the IP, optional
9696
command: ['sh', '-c', "sh /docker_start.sh; mkdir -p /lua_plugins/crowdsec/; cp -R /crowdsec/* /lua_plugins/crowdsec/"]
9797
volumeMounts:
9898
- name: crowdsec-bouncer-plugin
@@ -369,7 +369,7 @@ APPSEC_URL=http://<ip>:<port>
369369

370370
If set, enable appsec mode and forward the request to this endpoint for analysis.
371371

372-
Use `http://appsec-service.crowdsec.svc.cluster.local:7422` if you are using our helm chart to deploy crowdsec in the `crowdsec` namespace
372+
Use `http://crowdsec-appsec-service.crowdsec.svc.cluster.local:7422` if using our helm chart with `crowdsec` release name, and running the appsec in the `crowdsec` namespace.
373373

374374
### `APPSEC_FAILURE_ACTION`
375375
> passthrough | deny

0 commit comments

Comments
 (0)