Add Uptime Kuma

Add Uptime Kuma as as service, configure a reverse proxy and add it to
Homepage.
This commit is contained in:
Oliver Davies 2025-04-28 21:26:56 +01:00
parent bbbad11fd9
commit 44699fb007
4 changed files with 28 additions and 0 deletions

View file

@ -0,0 +1,17 @@
{ 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;
};
};
};
}