Compare commits

...

1 commit

Author SHA1 Message Date
31118e11e9
nginx: Add metrics 2023-10-02 22:53:56 +02:00
2 changed files with 12 additions and 0 deletions

View file

@ -137,6 +137,8 @@
recommendedProxySettings = true;
clientMaxBodySize = "10G";
domain = "tlater.net";
statusPage = true; # For metrics, should be accessible only from localhost
};
security.acme = {

View file

@ -50,6 +50,16 @@ in {
enabledCollectors = ["systemd"];
listenAddress = "127.0.0.1";
};
nginx = {
enable = true;
listenAddress = "127.0.0.1";
};
nginxlog = {
enable = true;
listenAddress = "127.0.0.1";
};
};
systemd.services.export-to-victoriametrics = let