Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
00fa7f5e
Commit
00fa7f5e
authored
Apr 02, 2015
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed unusued config, updated sample config with session config
parent
fde5ba85
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
4 deletions
+16
-4
conf/defaults.ini
+0
-4
conf/sample.ini
+16
-0
No files found.
conf/defaults.ini
View file @
00fa7f5e
...
...
@@ -57,10 +57,6 @@ cookie_name = grafana_sess
cookie_secure
=
false
; Session life time, default is 86400
session_life_time
=
86400
; session id hash func, Either "sha1", "sha256" or "md5" default is sha1
session_id_hashfunc
=
sha1
; Session hash key, default is use random string
session_id_hashkey
=
[security]
; default admin user, created on startup
...
...
conf/sample.ini
View file @
00fa7f5e
...
...
@@ -42,6 +42,22 @@ ssl_mode = disable
; For "sqlite3" only
path
=
/opt/grafana/data/grafana.db
[session]
; Either "memory", "file", "redis", "mysql", default is "memory"
provider
=
file
; Provider config options
; memory: not have any config yet
; file: session file path, e.g. `data/sessions`
; redis: config like redis server addr, poolSize, password, e.g. `127.0.0.1:6379,100,grafana`
; mysql: go-sql-driver/mysql dsn config string, e.g. `user:password@tcp(127.0.0.1)/database_name`
provider_config
=
/opt/grafana/data/sessions
; Session cookie name
cookie_name
=
grafana_sess
; If you use session in https only, default is false
cookie_secure
=
false
; Session life time, default is 86400
session_life_time
=
86400
[security]
; default admin user, created on startup
admin_user
=
admin
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment