monitoring
This commit is contained in:
parent
5f5d02fec0
commit
c68bee3aca
1 changed files with 1 additions and 2 deletions
|
@ -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; } ];
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue