ma stats/server: up NOFILE Limit

This commit is contained in:
makefu 2021-10-01 18:53:03 +02:00
parent 9a85d6e2bc
commit 3a4d724068
No known key found for this signature in database
GPG Key ID: 36F7711F3FC0F225

View File

@ -14,6 +14,8 @@ in {
services.grafana.addr = "0.0.0.0"; services.grafana.addr = "0.0.0.0";
services.influxdb.enable = true; services.influxdb.enable = true;
systemd.services.influxdb.serviceConfig.LimitNOFILE = 8192;
# redirect grafana to stats.makefu.r # redirect grafana to stats.makefu.r
services.nginx.enable = true; services.nginx.enable = true;
services.nginx.virtualHosts."stats.makefu.r".locations."/".proxyPass = "http://localhost:3000"; services.nginx.virtualHosts."stats.makefu.r".locations."/".proxyPass = "http://localhost:3000";