monitoring

This commit is contained in:
41666 2024-02-11 01:48:12 -05:00
parent 5f5d02fec0
commit c68bee3aca

View file

@ -2,11 +2,10 @@
services.prometheus.exporters.nginx = {
enable = true;
port = 14201;
scrapeUri = "http://localhost:14000/nginx_status";
scrapeUri = "http://localhost/nginx_status";
};
networking.firewall.allowedTCPPorts = [ 14201 ];
services.nginx.statusPage = true;
services.nginx.virtualHosts.localhost.listen = [ { port = 14000; } ];
}