diff --git a/templates/traefik-files.yml.j2 b/templates/traefik-files.yml.j2 index b5ab8e9..b03f2f6 100644 --- a/templates/traefik-files.yml.j2 +++ b/templates/traefik-files.yml.j2 @@ -51,13 +51,24 @@ data: # users: # - {{ basic_auth_data }} {% endif %} -{% if false %} authelia: forwardAuth: address: "http://authelia:9091/api/verify?rd=https://login.example.com/" trustForwardHeader: true - authReponseHeaders: ["Remote-User", "Remote-Groups", "Remote-Name", "Remote-Email"] -{% endif %} + authResponseHeaders: + - "Remote-User" + - "Remote-Groups" + - "Remote-Name" + - "Remote-Email" + authelia-basic: + forwardAuth: + address: "http://authelia:9091/api/verify?auth=basic" + trustForwardHeader: true + authResponseHeaders: + - "Remote-User" + - "Remote-Groups" + - "Remote-Name" + - "Remote-Email" traefik-tls-defaults-options.yaml: | tls: