← Tous les guides
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.
Ce guide est élaboré à partir de la documentation officielle de Authelia, dont le lien figure ci-dessus — vérifiez toujours les noms exacts des paquets/versions avant d'exécuter ces commandes sur un serveur de production, car les versions de la distribution et du projet évoluent avec le temps.
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.