lua-cs-bouncer-mcaptcha/nginx/template.conf

21 lines
630 B
Text
Raw Normal View History

API_URL=${CROWDSEC_LAPI_URL}
API_KEY=${API_KEY}
CACHE_EXPIRATION=1
2022-01-24 18:24:27 +01:00
# bounce for all type of remediation that the bouncer can receive from the local API
BOUNCING_ON_TYPE=all
FALLBACK_REMEDIATION=ban
2022-01-26 18:15:09 +01:00
REQUEST_TIMEOUT=200
UPDATE_FREQUENCY=10
2022-01-24 18:24:27 +01:00
MODE=stream
2022-01-28 11:26:13 +01:00
# exclude the bouncing on those location
EXCLUDE_LOCATION=/admin,/toto
2022-01-24 18:24:27 +01:00
#those apply for "ban" action
2022-01-27 18:57:05 +01:00
# /!\ REDIRECT_LOCATION and RET_CODE can't be used together. REDIRECT_LOCATION take priority over RET_CODE
REDIRECT_LOCATION=
RET_CODE=
2022-01-24 18:24:27 +01:00
#those apply for "captcha" action
SECRET_KEY=123
2022-01-24 19:24:19 +01:00
SITE_KEY=123
2022-01-26 18:15:09 +01:00
CAPTCHA_TEMPLATE_PATH=/usr/local/lua/crowdsec/captcha.js
CAPTCHA_EXPIRATION=3600