update monitoring so it works with recent grafana

This commit is contained in:
Anish L 2022-06-14 17:00:59 +10:00
parent 401f2c3a3c
commit 143059edc5
2 changed files with 7 additions and 4 deletions

View file

@ -15,7 +15,7 @@ in
type = types.str; type = types.str;
default = { }; default = { };
example = literalExample '' example = literalExample ''
shaarli mossnet
''; '';
description = '' description = ''
name for the backup operator name for the backup operator

View file

@ -12,6 +12,9 @@
locations."/" = { locations."/" = {
proxyPass = "http://127.0.0.1:${toString config.services.grafana.port}"; proxyPass = "http://127.0.0.1:${toString config.services.grafana.port}";
proxyWebsockets = true; proxyWebsockets = true;
extraConfig = ''
proxy_set_header Host ${config.services.grafana.domain}
'';
}; };
}; };