add proxy header to grafana nginx

This commit is contained in:
Sam 2025-01-25 00:06:04 +00:00
parent d5c6d2b8ee
commit 3e28358b89
1 changed files with 3 additions and 0 deletions

View File

@ -79,6 +79,9 @@ in {
};
"grafana.lan" = {
locations."/".proxyPass = "http://${metricsServer}:2342";
extraConfig = ''
proxy_set_header Host grafana.lan;
'';
};
"metrics.lan" = {
locations."/".proxyPass = "http://${metricsServer}:9001";