Use Authelia for Grafana login

This commit is contained in:
IamTheFij 2023-07-06 17:42:01 -07:00
parent 88e91e5e5d
commit 532d7f9a4c
2 changed files with 2 additions and 1 deletions

View File

@ -26,6 +26,7 @@ job "grafana" {
tags = [
"traefik.enable=true",
"traefik.http.routers.grafana.entryPoints=websecure",
"traefik.http.routers.grafana.middlewares=authelia@nomad",
]
}

View File

@ -283,7 +283,7 @@ log_queries =
[auth.proxy]
{{ with nomadService "traefik" -}}
enabled = true
header_name = X-WEBAUTH-USER
header_name = Remote-User
header_property = username
auto_sign_up = true
{{- $last := len . | subtract 1 -}}