|
|
@@ -102,6 +102,28 @@ log_queries =
|
|
|
# For "sqlite3" only. cache mode setting used for connecting to the database. (private, shared)
|
|
|
;cache_mode = private
|
|
|
|
|
|
+#################################### Login ###############################
|
|
|
+
|
|
|
+[login]
|
|
|
+
|
|
|
+# Login cookie name
|
|
|
+;cookie_name = grafana_session
|
|
|
+
|
|
|
+# If you want login cookies to be https only. default is false
|
|
|
+;cookie_secure = false
|
|
|
+
|
|
|
+# Logged in user name
|
|
|
+;cookie_username = grafana_user
|
|
|
+
|
|
|
+# How many days an session can be unused before we inactivate it
|
|
|
+;login_remember_days = 7
|
|
|
+
|
|
|
+# How often should the login token be rotated. default to '30m'
|
|
|
+;rotate_cookie_every = 30m
|
|
|
+
|
|
|
+# How long should Grafana keep expired tokens before deleting them
|
|
|
+;delete_expired_token_after_days = 30
|
|
|
+
|
|
|
#################################### Session ####################################
|
|
|
[session]
|
|
|
# Either "memory", "file", "redis", "mysql", "postgres", default is "file"
|