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

16 lines
431 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
REQUEST_TIMEOUT=0.2
UPDATE_FREQUENCY=10
2022-01-24 18:24:27 +01:00
MODE=stream
#those apply for "ban" action
REDIRECT_PATH=/toto
RET_CODE=403
#those apply for "captcha" action
SECRET_KEY=123
2022-01-24 19:24:19 +01:00
SITE_KEY=123
CAPTCHA_TEMPLATE_PATH=/usr/local/lua/crowdsec/captcha.js