add grafana subpath

This commit is contained in:
Gene Liverman 2025-04-27 23:12:23 -04:00
parent 41f6312c21
commit d81160e485
Signed by: genebean
SSH key fingerprint: SHA256:gMnZbl3rg8nIXl4AomxNeNiOG4mWP/xEywbmQjVfhtY

View file

@ -421,7 +421,7 @@ in {
enableACME = true; enableACME = true;
acmeRoot = null; acmeRoot = null;
forceSSL = true; forceSSL = true;
locations."/grafana/".proxyPass = "http://${backend_ip}:3002"; locations."/grafana/".proxyPass = "http://${backend_ip}:3002/grafana/";
}; };
"nc.${home_domain}" = { "nc.${home_domain}" = {
listen = [{ port = https_port; addr = "0.0.0.0"; ssl = true; }]; listen = [{ port = https_port; addr = "0.0.0.0"; ssl = true; }];