← Alle Anleitungen
Authelia
Authelia is a self-hosted authentication and authorization server that adds single sign-on and two-factor auth in front of a reverse proxy like Traefik or Nginx.
Diese Anleitung basiert auf der offiziellen Dokumentation von Authelia, oben verlinkt — überprüfe dort immer die genauen Paket-/Versionsnamen, bevor du diese Befehle auf einem Produktionsserver ausführst, da sich Distributions- und Projektversionen mit der Zeit ändern.
1Clone Authelia and check out the latest release
git clone https://github.com/authelia/authelia.gitcd autheliagit checkout $(git describe --tags `git rev-list --tags --max-count=1`)2Run the local example bundle
The 'local' Compose bundle (Authelia + Traefik) is meant for trying Authelia out without configuring your own domain/certs first.
cd examples/compose/local./setup.shsetup.sh edits /etc/hosts with sudo to map the example domains locally.
3Log in
Visit https://public.example.com (no auth), https://traefik.example.com (1FA), and https://secure.example.com (2FA) — accept the self-signed cert and register a 2FA device.