2022-02-22 01:33:05 -03:00
|
|
|
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
|
2024-08-23 06:31:45 -04: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 07:47:50 -03:00
|
|
|
# live or stream
|
|
|
|
MODE=live
|
2022-01-31 13:24:22 -03: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 06:07:30 -03:00
|
|
|
#valid providers are recaptcha, hcaptcha, turnstile
|
|
|
|
CAPTCHA_PROVIDER=
|
|
|
|
# Captcha Secret Key
|
2022-01-31 13:24:22 -03:00
|
|
|
SECRET_KEY=
|
2023-03-29 06:07:30 -03:00
|
|
|
# Captcha Site key
|
2022-01-31 13:24:22 -03:00
|
|
|
SITE_KEY=
|
|
|
|
CAPTCHA_TEMPLATE_PATH=/var/lib/crowdsec/lua/templates/captcha.html
|
|
|
|
CAPTCHA_EXPIRATION=3600
|