add proxy header to grafana nginx
This commit is contained in:
parent
d5c6d2b8ee
commit
3e28358b89
|
@ -79,6 +79,9 @@ in {
|
||||||
};
|
};
|
||||||
"grafana.lan" = {
|
"grafana.lan" = {
|
||||||
locations."/".proxyPass = "http://${metricsServer}:2342";
|
locations."/".proxyPass = "http://${metricsServer}:2342";
|
||||||
|
extraConfig = ''
|
||||||
|
proxy_set_header Host grafana.lan;
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
"metrics.lan" = {
|
"metrics.lan" = {
|
||||||
locations."/".proxyPass = "http://${metricsServer}:9001";
|
locations."/".proxyPass = "http://${metricsServer}:9001";
|
||||||
|
|
Loading…
Reference in New Issue