2022-02-22 06:33:05 +02:00
|
|
|
ENABLED=true
|
2022-01-31 17:24:22 +01:00
|
|
|
API_URL=${CROWDSEC_LAPI_URL}
|
|
|
|
API_KEY=${API_KEY}
|
2020-10-07 16:49:14 +02:00
|
|
|
CACHE_EXPIRATION=1
|
2022-01-31 17:24:22 +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-02-08 16:24:09 +01:00
|
|
|
REQUEST_TIMEOUT=3000
|
2022-01-31 17:24:22 +01:00
|
|
|
UPDATE_FREQUENCY=10
|
2024-08-23 11:31:45 +01:00
|
|
|
# By default internal requests are ignored, such as any path affected by rewrite rule.
|
|
|
|
# set ENABLE_INTERNAL=true to allow checking on these internal requests.
|
|
|
|
ENABLE_INTERNAL=false
|
2022-03-10 11:47:50 +01:00
|
|
|
# live or stream
|
|
|
|
MODE=live
|
2022-01-31 17:24:22 +01:00
|
|
|
# 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
|
2023-03-29 10:07:30 +01:00
|
|
|
#valid providers are recaptcha, hcaptcha, turnstile
|
|
|
|
CAPTCHA_PROVIDER=
|
|
|
|
# Captcha Secret Key
|
2022-01-31 17:24:22 +01:00
|
|
|
SECRET_KEY=
|
2023-03-29 10:07:30 +01:00
|
|
|
# Captcha Site key
|
2022-01-31 17:24:22 +01:00
|
|
|
SITE_KEY=
|
|
|
|
CAPTCHA_TEMPLATE_PATH=/var/lib/crowdsec/lua/templates/captcha.html
|
|
|
|
CAPTCHA_EXPIRATION=3600
|