hCaptcha
Bot protection with hCaptcha
Configuration
| Option | Description | Default | Required |
|---|---|---|---|
site_key | Site key | - | Yes |
secret_key | Secret key | - | Yes |
session_expiry | Session expiry | 24h | No |

Users solve captcha once per session.
Examples
Entrypoint
entrypoint:
middlewares:
- use: hcaptcha
site_key: your-site-key
secret_key: your-secret-keyDocker Labels
proxy.#1.middlewares.hcaptcha.site_key: your-site-key
proxy.#1.middlewares.hcaptcha.secret_key: your-secret-keyRoute Files
myapp:
middlewares:
hcaptcha:
site_key: your-site-key
secret_key: your-secret-key