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 authored Jul 23, 2021
1 parent 0f790d6 commit 600edd2
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 600edd2

Please sign in to comment.