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"; }; };