fix: enable grafana /ui subpath to match provisioning script

This commit is contained in:
Haitao Pan 2026-02-03 02:04:25 +08:00
parent f41c34d34d
commit 63be61b531

View File

@ -9,8 +9,8 @@ protocol = http
http_addr = 0.0.0.0
http_port = {{ grafana_port | default(3000) }}
domain = {{ grafana_domain | default('localhost') }}
root_url = %(protocol)s://%(domain)s:%(http_port)s/
serve_from_sub_path = false
root_url = %(protocol)s://%(domain)s:%(http_port)s/ui/
serve_from_sub_path = true
[database]
{% if grafana_pgurl is defined and grafana_pgurl != '' %}