Skip to content

A reverse proxy based on nginx that plays together with Hashicorp Consul and Authelia.

Notifications You must be signed in to change notification settings

dmeulen/nginx-authelia-proxy

Repository files navigation

Nginx authelia reverse proxy

This is a reverse proxy based on nginx. It uses authelia as authentication and authorization server. Authelia supports SSO and 2FA, uses LDAP as authentication backend. Most of all authelia is very easy to set up!

This reverse proxy uses a LUA script to lookup services and ports in consul ( thank you ygersie and vlipco).

Configuration

Configuration is entirely done with environment variables.

Env var Description Example value Default value
SERVER_NAME Sets the server_name value nginx will listen to. REQUIRED service.example.com None
BACKEND_SERVICE The consul service name to be used as upstream. If the name contains a colon, no consul lookup is done and the string is used as is. REQUIRED http.consul.service.conul None
AUTHELIA_URL The authelia backend url. REQUIRED https://authelia.example.com None

About

A reverse proxy based on nginx that plays together with Hashicorp Consul and Authelia.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published