Skip to content

Commit

Permalink
cluster: distinguish cookie names of multiple grafana instances (#1491)
Browse files Browse the repository at this point in the history
  • Loading branch information
AstroProfundis committed Aug 5, 2021
1 parent 222bd4d commit 0da5635
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions embed/templates/config/grafana.ini.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,10 @@ admin_password = {{.Password}}
# Default UI theme ("dark" or "light")
;default_theme = dark

############### Set Cookie Name for Multiple Instances #######################
[auth]
login_cookie_name = grafana_session_{{ if .Domain }}{{.Domain}}_{{ end }}{{.Port}}

#################################### Anonymous Auth ##########################
[auth.anonymous]
{{- if .AnonymousEnable}}
Expand Down

0 comments on commit 0da5635

Please sign in to comment.