nixos-config/hosts/vulpecula-vps/services/uptime-kuma.nix

15 lines
325 B
Nix
Raw Permalink Normal View History

2025-02-09 22:03:02 +01:00
{config, ...}: {
services.nginx.virtualHosts."status.vulpecula.zone" = {
addSSL = true;
enableACME = true;
locations."/".proxyPass = "http://localhost:${toString config.services.uptime-kuma.settings.PORT}";
};
services.uptime-kuma = {
enable = true;
settings = {
PORT = "4000";
};
};
}