Files
nixy/hosts/server/modules/exposed/kuma.nix
Hadi d943b85cc9 update
Former-commit-id: c5420f8d3a
2024-06-23 17:52:19 +02:00

15 lines
323 B
Nix

{
services.uptime-kuma = {
enable = true;
settings = {
HOST = "127.0.0.1";
PORT = "3005";
};
};
services.nginx.virtualHosts."kuma.anotherhadi.com" = {
enableACME = true;
locations."/" = { proxyPass = "http://127.0.0.1:3005"; };
};
networking.firewall.allowedTCPPorts = [ 3005 ];
}