2022-01-05 15:51:15 +01:00
|
|
|
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
|
2022-01-05 15:51:15 +01:00
|
|
|
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
|
2022-01-28 13:03:36 +01:00
|
|
|
EXCLUDE_LOCATION=
|
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
|
2022-01-30 17:08:11 +01:00
|
|
|
BAN_TEMPLATE_PATH=/usr/local/lua/crowdsec/templates/ban.html
|
2022-01-27 18:57:05 +01:00
|
|
|
REDIRECT_LOCATION=
|
|
|
|
RET_CODE=
|
2022-01-24 18:24:27 +01:00
|
|
|
#those apply for "captcha" action
|
2022-01-28 13:03:36 +01:00
|
|
|
# ReCaptcha Secret Key
|
|
|
|
SECRET_KEY=
|
|
|
|
# Recaptcha Site key
|
|
|
|
SITE_KEY=
|
2022-01-30 17:07:51 +01:00
|
|
|
CAPTCHA_TEMPLATE_PATH=/usr/local/lua/crowdsec/templates/captcha.html
|
2022-01-26 18:15:09 +01:00
|
|
|
CAPTCHA_EXPIRATION=3600
|