From 7d81a07030c77ffdcaaa4c786b29f939eb2d68db Mon Sep 17 00:00:00 2001 From: Anish L Date: Tue, 14 Jun 2022 17:17:23 +1000 Subject: [PATCH] maybe this monitoring work? --- profiles/monitoring/default.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/profiles/monitoring/default.nix b/profiles/monitoring/default.nix index 58c352d1..cdf568de 100644 --- a/profiles/monitoring/default.nix +++ b/profiles/monitoring/default.nix @@ -12,9 +12,7 @@ locations."/" = { proxyPass = "http://127.0.0.1:${toString config.services.grafana.port}"; proxyWebsockets = true; - extraConfig = '' - proxy_set_header Host ${config.services.grafana.domain} - ''; + extraConfig = "proxy_set_header Host $http_host"; }; };