Logo Authelia

Cybersecurity & Bastion

Authelia

Add MFA, SSO and fine-grained access control in front of any app — no code changes required.

About Authelia

Authelia is an open-source authentication and authorization server that acts as a reverse-proxy companion. It intercepts every request to your apps and enforces your policy: one-factor login, two-factor (TOTP, WebAuthn/Passkeys), or bypass — based on domain, path, user group or network. Authelia itself handles the login portal; your app never needs to know it exists.

Deployed on a ServOrbit VPS, Authelia runs as a lightweight Go binary (~25 MB RAM) alongside a Redis session store. It integrates with Nginx, Caddy, Traefik and HAProxy as a forward-auth endpoint, and doubles as a full OpenID Connect (OIDC) provider, letting you add Single Sign-On across your entire self-hosted stack from a single configuration file. Apache 2.0 licensed, ~28 k GitHub stars.

What gets installed

Ready when the VPS starts

Compatible OS
Ubuntu 24.04
Application
Authelia
Tech stack
DockerGoSQLiteRedis 7
Minimum RAM
512 MB (1 GB recommended)
Minimum CPU
1 vCPU
Default port
9091
Access
root over SSH

Key features

  • MFA out of the box: TOTP, WebAuthn/Passkeys and Duo push — one config line per user or group
  • OpenID Connect (OIDC) certified provider: add SSO to any OIDC-compatible app in your stack
  • Fine-grained access control: allow, deny or require 2FA by domain, subdomain, path, IP network or user group
  • Reverse-proxy agnostic: native forward-auth support for Nginx, Caddy, Traefik, HAProxy and Envoy
  • Under 30 MB RAM at idle — runs comfortably alongside other services on a 1 GB VPS
  • File-based or LDAP user backend — start with a local users file, migrate to LDAP later without downtime

When to use this solution?

Protect internal tools

Put Authelia in front of Grafana, Dockge, Gitea or any admin UI. Users authenticate once at your auth portal and are forwarded to any protected app without re-entering credentials.

Add MFA to apps that don't support it

Many self-hosted apps have basic password auth or none at all. Authelia adds TOTP or passkey authentication at the proxy layer — zero changes to the app, zero code to write.

Self-hosted SSO across your stack

Configure Authelia as an OIDC provider and connect Nextcloud, Gitea, Mattermost and more. One login session, all your apps — on infrastructure you own.

Guide

Deploy Authelia on your VPS

  1. Create the VPS

    Order a ServOrbit VPS with at least 1 vCPU and 512 MB RAM (1 GB recommended). Ubuntu 24.04 LTS is the recommended OS. A domain name pointing to this VPS is required — Authelia's session cookies and OIDC callbacks require HTTPS with a valid FQDN.

  2. Choose the access address

    The installer asks for it before it starts, from two targets — a subdomain of one of your own domains, for example auth.yourdomain.com, or the free subdomain that comes with your VPS (authelia.<your-vps>.servorbit-dns.com), so buying a domain name is not a prerequisite. ServOrbit creates the DNS record when the domain uses our managed DNS — otherwise the client area tells you the exact record to create — and SSL is handled automatically by the ServOrbit reverse proxy using Let's Encrypt.

  3. Deploy Authelia

    Select the Authelia template in the ServOrbit Marketplace. The provisioning job deploys the Compose stack (Authelia + Redis), generates all secrets, writes the initial configuration and creates the admin user. The portal is accessible at https://auth.yourdomain.com within minutes.

  4. Configure your reverse proxy

    Add a forward_auth directive to the Nginx, Caddy or Traefik configuration of each app you want to protect. Authelia's documentation has copy-paste snippets for every major proxy. ServOrbit VPS instances ship with Caddy by default.

  5. Add users and enable MFA

    Log in to the Authelia portal with the default admin credentials, register your TOTP app (Google Authenticator, Ente Auth, Aegis…) or a passkey, then create additional users. Update access control rules in configuration.yml to enforce 2FA for sensitive apps and one-factor for others.

Frequently asked questions

Questions about Authelia

← Back to Cybersecurity & BastionAll applications
Authelia is an open-source (Apache 2.0) authentication and authorization gateway. It sits in front of your apps as a forward-auth endpoint, enforcing MFA and fine-grained access control without any changes to the apps themselves.

Embed the deploy button

Maintaining a project that uses Authelia? This button lets your readers deploy it on a VPS in one click, without reading Docker documentation.

Deploy Authelia on ServOrbit
Markdown
[![Deploy Authelia on ServOrbit](https://servorbit.com/brand/deploy/button.svg)](https://servorbit.com/vps-cloud?template=authelia&utm_source=deploy-badge&utm_medium=referral&utm_campaign=authelia)
HTML
<a href="https://servorbit.com/vps-cloud?template=authelia&utm_source=deploy-badge&utm_medium=referral&utm_campaign=authelia"><img src="https://servorbit.com/brand/deploy/button.svg" alt="Deploy Authelia on ServOrbit" height="40"></a>

The button points to a VPS order with the template preselected. The image is served from servorbit.com — nothing to host on your side.

Need help?

Browse our help center and FAQ, or reach our team — callback, WhatsApp or email.

Message us on WhatsAppopens in a new tab