Helpful Links
- Authelia Tutorial - Protect your Docker Traefik stack with Private MFA | SHB
- Caddy - Integration - Authelia
- Docker - Integration - Authelia
- Forwarded Headers - Integration - Authelia
- authelia/config.template.yml at master · authelia/authelia
- forward_auth (Caddyfile directive) — Caddy Documentation
- reverse_proxy (Caddyfile directive) — Caddy Documentation
Enable Authelia on a Caddy Site
handle @log {
forward_auth localhost:9091 {
uri /api/verify?rd=https://auth.int.ppn.sh
copy_headers Remote-User Remote-Groups Remote-Name Remote-Email
}
reverse_proxy 10.19.90.20
}
File Based User Database
users:
usera:
disabled: false
displayname: <display-name>
password: <hashed-password>
email: <email>
groups:
- admins
userb:
disabled: false
displayname: <display-name>
password: <hashed-password>
email: <email>
groups:
- admins
Hash a Password
# https://www.authelia.com/reference/guides/passwords/#passwords
docker exec -it <container-name> authelia hash-password