diff --git a/hosts/sid/services/netdata.nix b/hosts/sid/services/netdata.nix index c0b9594..6733c2a 100644 --- a/hosts/sid/services/netdata.nix +++ b/hosts/sid/services/netdata.nix @@ -75,8 +75,9 @@ in recommendedProxySettings = true; }; - locations."~ ^/host/([^/]+)/?$" = { - return = "302 /#/node/$1"; + locations."~ ^/host/" = { + proxyPass = "http://127.0.0.1:${toString constants.services.netdata.port}"; + recommendedProxySettings = true; }; };