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

19 lines
523 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-26 18:15:09 +01:00
EXCLUDE_LOCATION=/admin,/toto # exclude the bouncing on those location
2022-01-24 18:24:27 +01:00
#those apply for "ban" action
2022-01-26 18:15:09 +01:00
REDIRECT_PATH=/
2022-01-24 18:24:27 +01:00
RET_CODE=403
#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