summaryrefslogtreecommitdiff
path: root/os/kay/modules/www.nix
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2025-03-17 00:31:16 +0530
committersinanmohd <sinan@sinanmohd.com>2025-03-17 00:32:02 +0530
commitaacadd4b6cbe7df5113a91090c095cc0db5ea2ad (patch)
tree18ea8f6a6801ca4b5c82d2e28a2fd52d2de3374e /os/kay/modules/www.nix
parentcf9392703c0ce468a4eb41295c01b0b491ce4de1 (diff)
kay/observability: init common exporters
Diffstat (limited to 'os/kay/modules/www.nix')
-rw-r--r--os/kay/modules/www.nix12
1 files changed, 12 insertions, 0 deletions
diff --git a/os/kay/modules/www.nix b/os/kay/modules/www.nix
index b62a017..2ab70aa 100644
--- a/os/kay/modules/www.nix
+++ b/os/kay/modules/www.nix
@@ -16,8 +16,20 @@ in
allowedUDPPorts = [ 443 ];
};
+ services.prometheus.exporters = {
+ nginxlog = {
+ enable = true;
+ listenAddress = "127.0.0.1";
+ };
+ nginx = {
+ enable = true;
+ listenAddress = "127.0.0.1";
+ };
+ };
+
services.nginx = {
enable = true;
+ statusPage = true;
package = pkgs.nginxQuic;
enableQuicBPF = true;