lua-cs-bouncer-mcaptcha/config_example.conf

25 lines
739 B
Text
Raw Normal View History

ENABLED=true
2022-01-31 13:24:22 -03:00
API_URL=${CROWDSEC_LAPI_URL}
API_KEY=${API_KEY}
2020-10-07 11:49:14 -03:00
CACHE_EXPIRATION=1
2022-01-31 13:24:22 -03:00
# bounce for all type of remediation that the bouncer can receive from the local API
BOUNCING_ON_TYPE=all
FALLBACK_REMEDIATION=ban
2022-02-08 12:24:09 -03:00
REQUEST_TIMEOUT=3000
2022-01-31 13:24:22 -03:00
UPDATE_FREQUENCY=10
MODE=stream
# exclude the bouncing on those location
EXCLUDE_LOCATION=
#those apply for "ban" action
# /!\ REDIRECT_LOCATION and RET_CODE can't be used together. REDIRECT_LOCATION take priority over RET_CODE
BAN_TEMPLATE_PATH=/var/lib/crowdsec/lua/templates/ban.html
REDIRECT_LOCATION=
RET_CODE=
#those apply for "captcha" action
# ReCaptcha Secret Key
SECRET_KEY=
# Recaptcha Site key
SITE_KEY=
CAPTCHA_TEMPLATE_PATH=/var/lib/crowdsec/lua/templates/captcha.html
CAPTCHA_EXPIRATION=3600