lua-cs-bouncer-mcaptcha/nginx/template.conf
2022-01-24 19:24:19 +01:00

16 lines
No EOL
431 B
Text

API_URL=${CROWDSEC_LAPI_URL}
API_KEY=${API_KEY}
CACHE_EXPIRATION=1
# 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
MODE=stream
#those apply for "ban" action
REDIRECT_PATH=/toto
RET_CODE=403
#those apply for "captcha" action
SECRET_KEY=123
SITE_KEY=123
CAPTCHA_TEMPLATE_PATH=/usr/local/lua/crowdsec/captcha.js