netdata: also proxy version.txt
All checks were successful
Build hosts / build-hosts (pull_request) Successful in 21s
Flake check / flake-check (pull_request) Successful in 20s

This commit is contained in:
sid 2026-05-22 21:14:48 +02:00
parent ac4e31bb7d
commit 69d12812df

View file

@ -64,7 +64,7 @@ in
tryFiles = "$uri $uri/ /index.html"; tryFiles = "$uri $uri/ /index.html";
}; };
locations."~ ^/(api|v[0-9]+|netdata.conf|registry|stream)(/|$)" = { locations."~ ^/(api|v[0-9]+|netdata.conf|registry|stream|version.txt)(/|$)" = {
proxyPass = "http://127.0.0.1:${toString constants.services.netdata.port}"; proxyPass = "http://127.0.0.1:${toString constants.services.netdata.port}";
recommendedProxySettings = true; recommendedProxySettings = true;
}; };