Update + home assistent -> prometheus

This commit is contained in:
Aleksandr Lebedev 2025-09-29 23:34:18 +02:00
parent 4b6fc29c91
commit 31833e1681
5 changed files with 146 additions and 2718 deletions

View file

@ -86,9 +86,20 @@ in {
extraConfig = ''
proxy_buffering off;
'';
locations."/" = {
proxyPass = "http://[::1]:8123";
proxyWebsockets = true;
locations = {
"/" = {
proxyPass = "http://[::1]:8123";
proxyWebsockets = true;
};
"/api/prometheus" = {
proxyPass = "http://[::1]:8123";
proxyWebsockets = true;
extraConfig = ''
allow 127.0.0.1;
allow ::1;
deny all;
'';
};
};
};
"grafana.kylekrein.com" = {