diff --git a/hswaw/machines/customs.hackerspace.pl/configuration.nix b/hswaw/machines/customs.hackerspace.pl/configuration.nix index 36914240..ce13373c 100644 --- a/hswaw/machines/customs.hackerspace.pl/configuration.nix +++ b/hswaw/machines/customs.hackerspace.pl/configuration.nix @@ -451,7 +451,10 @@ in { proxyPass = "http://10.8.0.146"; }; locations."/metrics/spejsiot" = { - proxyPass = "http://spejsiot.waw.hackerspace.pl/metrics"; + proxyPass = "http://10.8.1.16/metrics"; + extraConfig = '' + proxy_set_header Host spejsiot.waw.hackerspace.pl; + ''; }; locations."/metrics/apm" = { proxyPass = "http://10.8.1.40:5000/metrics";