feat: fix browser, add uptime-kuma

This commit is contained in:
Kat Inskip 2025-10-14 16:35:57 -07:00
parent f6a5590a9c
commit cb7eb46ee7
Signed by: kat
GPG key ID: 465E64DECEA8CF0F
5 changed files with 34 additions and 3 deletions

View file

@ -0,0 +1,20 @@
{config, ...}: let
domain = "kuma.kittywit.ch";
cfg = config.services.uptime-kuma;
in {
services.uptime-kuma = {
enable = true;
settings = {
};
};
services.nginx.virtualHosts.${domain} = {
enableACME = true;
forceSSL = true;
locations = {
"/" = {
proxyPass = "http://localhost:${toString cfg.settings.PORT}";
proxyWebsockets = true;
};
};
};
}