blob: 41905cd1ba5ba1f5b5538bbf6a29aa141c909b0f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
{ config, pkgs, ... }:
{
services = {
grafana = {
enable = true;
settings.server = {
domain = "monitor.internal";
http_port = 3050;
http_addr = "127.0.0.1";
};
};
nginx = {
virtualHosts."monitor.internal" = {
locations."/" = {
proxyPass = "http://127.0.0.1:3050";
proxyWebsockets = true;
};
};
};
};
}
|
; all rights regarding Text and Data Mining (TDM) are reserved.