nix-config/hosts/nixedo/services/uptime-kuma.nix
Oliver Davies 44699fb007 Add Uptime Kuma
Add Uptime Kuma as as service, configure a reverse proxy and add it to
Homepage.
2025-04-28 21:42:09 +01:00

17 lines
364 B
Nix

{ config, ... }:
{
services = {
uptime-kuma.enable = true;
nginx.virtualHosts."uptime.oliverdavies.uk" = {
forceSSL = true;
useACMEHost = "oliverdavies.uk";
locations."/" = {
proxyPass = "http://localhost:${toString config.services.uptime-kuma.settings.PORT}";
recommendedProxySettings = true;
};
};
};
}