add proxy header to grafana nginx
This commit is contained in:
parent
d5c6d2b8ee
commit
3e28358b89
1 changed files with 3 additions and 0 deletions
|
@ -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";
|
||||
|
|
Loading…
Add table
Reference in a new issue