more metrics

This commit is contained in:
Vivian 2022-07-30 12:22:19 +02:00
parent 0a496eb82f
commit 0a5df1e33f
6 changed files with 46 additions and 42 deletions

View file

@ -41,6 +41,7 @@ in
services.nginx = {
enable = true;
statusPage = true;
recommendedProxySettings = true;
recommendedTlsSettings = true;
recommendedOptimisation = true;
@ -119,4 +120,11 @@ in
security.acme.defaults.email = "victorheld12@gmail.com";
security.acme.acceptTerms = true;
security.acme.preliminarySelfsigned = true;
services.prometheus.exporters = {
nginx = {
enable = true;
openFirewall = true;
};
};
}