Use Authelia for Grafana login
This commit is contained in:
parent
88e91e5e5d
commit
532d7f9a4c
@ -26,6 +26,7 @@ job "grafana" {
|
||||
tags = [
|
||||
"traefik.enable=true",
|
||||
"traefik.http.routers.grafana.entryPoints=websecure",
|
||||
"traefik.http.routers.grafana.middlewares=authelia@nomad",
|
||||
]
|
||||
}
|
||||
|
||||
|
@ -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 -}}
|
||||
|
Loading…
Reference in New Issue
Block a user