mirror of
https://github.com/fosrl/docs.git
synced 2025-05-12 21:30:43 +01:00
fix: get raw ban/captcha html pages
This commit is contained in:
parent
6c82263fdd
commit
ed0f469aff
1 changed files with 3 additions and 3 deletions
|
@ -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:
|
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
|
```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:
|
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:
|
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
|
```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 `<SERVICE>` with your captcha provider (e.g. hCaptcha, reCaptcha, Turnstile), and `<KEY>` with the appropriate site and secret keys:
|
2. Update the `/config/traefik/dynamic_config.yml` file with the following configuration, replacing `<SERVICE>` with your captcha provider (e.g. hCaptcha, reCaptcha, Turnstile), and `<KEY>` with the appropriate site and secret keys:
|
||||||
|
|
Loading…
Reference in a new issue