Revert "prep for distrust-mini"

This reverts commit b2c36ea08b.
This commit is contained in:
root 2025-11-10 00:08:45 +00:00
parent b2c36ea08b
commit fe481df5d2
2 changed files with 20 additions and 15 deletions

View file

@ -3,22 +3,27 @@
in {
age.secrets."hidden_service/uptime-kuma".file = ../../secrets/hidden_service/uptime-kuma;
services = {
uptime-kuma = {
enable = true;
settings = {
PORT = toString kumaPort;
};
services.uptime-kuma = {
enable = true;
settings = {
PORT = toString kumaPort;
};
caddy = {
enable = true;
virtualHosts."https://status.distrust.network".extraConfig = ''
reverse_proxy localhost:${toString kumaPort}
'';
};
tor.relay.onionServices."uptime-kuma" = {
map = [80];
};
distrust.services."uptime-kuma" = {
url = "https://status.distrust.network";
onion = {
url = "http://dstrst6d56jb7y7bmd77fcq73x43e6euphf74qzjvvn43j67ugydd2id.onion";
secretKey = config.age.secrets."hidden_service/uptime-kuma".path;
};
virtualHostConfig = ''
reverse_proxy localhost:${toString kumaPort}
'';
backup = {
enable = true;
paths = [
"/var/lib/uptime-kuma"
];
};
};
}