From 612ea64ae9c199a8013a12a6e69451bd1324a595 Mon Sep 17 00:00:00 2001 From: sid Date: Sat, 23 May 2026 12:32:46 +0200 Subject: [PATCH 1/2] netdata: trying host path 302 --- hosts/sid/services/netdata.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hosts/sid/services/netdata.nix b/hosts/sid/services/netdata.nix index 56496aa..c0b9594 100644 --- a/hosts/sid/services/netdata.nix +++ b/hosts/sid/services/netdata.nix @@ -74,6 +74,10 @@ in proxyPass = "http://127.0.0.1:${toString constants.services.netdata.port}"; recommendedProxySettings = true; }; + + locations."~ ^/host/([^/]+)/?$" = { + return = "302 /#/node/$1"; + }; }; security.acme = { From 3bc424eeeefd347ae9325718d8e7ae0ef3f90c11 Mon Sep 17 00:00:00 2001 From: sid Date: Sat, 23 May 2026 12:36:24 +0200 Subject: [PATCH 2/2] netdata: host path fix --- hosts/sid/services/netdata.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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; }; };