-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
36 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
APPSEC_URL=http://127.0.0.1:7422 | ||
ENABLED=true | ||
API_URL=http://127.0.0.1:8081 | ||
API_KEY=LFrdL+aiecMTSxpGE9vLkx5sGMwdIpgVovpVMfXp3J0 | ||
CACHE_EXPIRATION=1 | ||
# bounce for all type of remediation that the bouncer can receive from the local API | ||
BOUNCING_ON_TYPE=all | ||
FALLBACK_REMEDIATION=ban | ||
REQUEST_TIMEOUT=3000 | ||
UPDATE_FREQUENCY=10 | ||
# live or stream | ||
MODE=live | ||
# exclude the bouncing on those location | ||
EXCLUDE_LOCATION=/v1/decisions | ||
#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=./ban | ||
REDIRECT_LOCATION= | ||
RET_CODE= | ||
#those apply for "captcha" action | ||
#valid providers are recaptcha, hcaptcha, turnstile | ||
CAPTCHA_PROVIDER= | ||
# Captcha Secret Key | ||
SECRET_KEY= | ||
# Captcha Site key | ||
SITE_KEY= | ||
CAPTCHA_TEMPLATE_PATH=/var/lib/crowdsec/lua/templates/captcha.html | ||
CAPTCHA_EXPIRATION=3600 | ||
#METRICS_PERIOD=60 |