summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/stats/netdata-server.nix
blob: 5fec3583c0d2661b63061677fe1274516270f280 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{
  makefu.netdata = {
    enable = true;
    stream.role = "master";
  };

  services.nginx = {
    virtualHosts."netdata.euer.krebsco.de" = {
      addSSL = true;
      enableACME = true;
      locations."/".proxyPass = "http://localhost:19999";
    };
    virtualHosts."netdata.makefu.r" = {
      locations."/".proxyPass = "http://localhost:19999";
    };
  };
}