services: grafana: fix server listen address
Signed-off-by: Christoph Heiss <christoph@c8h4.io>
This commit is contained in:
parent
851aa3abb0
commit
57f2ea8e5b
|
@ -18,7 +18,7 @@ in {
|
|||
name = "grafana";
|
||||
};
|
||||
server = {
|
||||
http_addr = "[::1]";
|
||||
http_addr = "::1";
|
||||
domain = fqdn;
|
||||
root_url = "https://${fqdn}";
|
||||
serve_from_sub_path = true;
|
||||
|
@ -68,7 +68,7 @@ in {
|
|||
kTLS = true;
|
||||
locations."/" = {
|
||||
proxyPass =
|
||||
"http://${serverCfg.http_addr}:${toString serverCfg.http_port}";
|
||||
"http://[${serverCfg.http_addr}]:${toString serverCfg.http_port}";
|
||||
proxyWebsockets = true;
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue