This commit is contained in:
= 2025-11-09 23:28:16 +00:00
parent 68704bc88e
commit b9c6c1da6a
25 changed files with 87 additions and 6 deletions

View file

@ -0,0 +1,28 @@
let
kumaPort = 3001;
in
{
services.uptime-kuma = {
enable = true;
settings = {
PORT = kumaPort;
};
};
distrust.services."uptime-kuma" = {
url = "http://uptime.distrust.network";
onion = {
url = "http://uxp5y2l7g3jv2x7f4j5zv3j5x7z5z7z5z5z5z5z5z5z5z5z5z5z5z5z5z5.onion";
secretKey = null;
};
virtualHostConfig = ''
reverse_proxy localhost:${toString kumaPort}
'';
backup = {
enable = true;
paths = [
"/var/lib/uptime-kuma"
];
};
};
}