From 57f2ea8e5b0bea5d4a4611c6d12a1ad87b3c2daa Mon Sep 17 00:00:00 2001 From: Christoph Heiss Date: Tue, 6 Aug 2024 00:44:03 +0200 Subject: [PATCH] services: grafana: fix server listen address Signed-off-by: Christoph Heiss --- services/grafana.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/grafana.nix b/services/grafana.nix index e4f7bf1..2aad1c5 100644 --- a/services/grafana.nix +++ b/services/grafana.nix @@ -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; }; };