From 036d2b92a54416ca4f2b225bc672d52505debcb1 Mon Sep 17 00:00:00 2001 From: ibizaman Date: Sun, 17 Dec 2023 23:09:19 -0800 Subject: [PATCH] fix grafana not being able to load dashboards --- modules/blocks/monitoring.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/blocks/monitoring.nix b/modules/blocks/monitoring.nix index 06765ff..7a2f0ac 100644 --- a/modules/blocks/monitoring.nix +++ b/modules/blocks/monitoring.nix @@ -368,6 +368,9 @@ in locations."/" = { proxyPass = "http://${toString config.services.grafana.settings.server.http_addr}:${toString config.services.grafana.settings.server.http_port}"; proxyWebsockets = true; + extraConfig = '' + proxy_set_header Host $host; + ''; }; }; };