From ed0f469affbdd704e470e694ea044807c35d62cb Mon Sep 17 00:00:00 2001 From: Jack <55409055+Jack1424@users.noreply.github.com> Date: Thu, 8 May 2025 15:42:54 -0400 Subject: [PATCH] fix: get raw ban/captcha html pages --- packages/docusaurus/docs/07-Community Guides/02-crowdsec.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/docusaurus/docs/07-Community Guides/02-crowdsec.md b/packages/docusaurus/docs/07-Community Guides/02-crowdsec.md index d5c1849..cd39dd9 100644 --- a/packages/docusaurus/docs/07-Community Guides/02-crowdsec.md +++ b/packages/docusaurus/docs/07-Community Guides/02-crowdsec.md @@ -148,7 +148,7 @@ To display a custom ban page to attackers, follow these steps: 1. Place a `ban.html` page in the `/config/traefik` directory. If you prefer not to create your own, you can download the official example: ```bash -wget https://github.com/maxlerebourg/crowdsec-bouncer-traefik-plugin/blob/main/ban.html +wget https://raw.githubusercontent.com/maxlerebourg/crowdsec-bouncer-traefik-plugin/refs/heads/main/ban.html ``` 2. Update the `/config/traefik/dynamic_config.yml` file to include the following: @@ -169,7 +169,7 @@ To use a custom captcha page, follow these steps: 1. Place a `captcha.html` page in the `/config/traefik` directory. If you don't want to create your own, you can download the official example: ```bash -wget https://github.com/maxlerebourg/crowdsec-bouncer-traefik-plugin/blob/main/captcha.html +wget https://raw.githubusercontent.com/maxlerebourg/crowdsec-bouncer-traefik-plugin/refs/heads/main/captcha.html ``` 2. Update the `/config/traefik/dynamic_config.yml` file with the following configuration, replacing `` with your captcha provider (e.g. hCaptcha, reCaptcha, Turnstile), and `` with the appropriate site and secret keys: @@ -201,4 +201,4 @@ To trigger a captcha challenge: ```bash docker exec crowdsec cscli decisions add --ip -d 1m --type captcha -``` \ No newline at end of file +```