add server.root_url variable
This commit is contained in:
parent
bc4ce2a7ff
commit
96ae1af5e0
2 changed files with 2 additions and 1 deletions
grafana
|
@ -36,7 +36,7 @@ domain = {{ server.domain }}
|
||||||
;enforce_domain = false
|
;enforce_domain = false
|
||||||
|
|
||||||
# The full public facing url
|
# The full public facing url
|
||||||
;root_url = %(protocol)s://%(domain)s:%(http_port)s/
|
root_url = {{ server.root_url }}
|
||||||
|
|
||||||
# Log web requests
|
# Log web requests
|
||||||
;router_logging = false
|
;router_logging = false
|
||||||
|
|
|
@ -16,6 +16,7 @@ Debian:
|
||||||
address: 0.0.0.0
|
address: 0.0.0.0
|
||||||
port: 3000
|
port: 3000
|
||||||
domain: localhost
|
domain: localhost
|
||||||
|
root_url: "%(protocol)s://%(domain)s:%(http_port)s/"
|
||||||
session:
|
session:
|
||||||
engine: file
|
engine: file
|
||||||
auth:
|
auth:
|
||||||
|
|
Loading…
Add table
Reference in a new issue