This repository has been archived on 2024-11-21. You can view files and clone it, but cannot push or open issues or pull requests.
server_config/sys/srv/kuma.nix

26 lines
404 B
Nix
Raw Normal View History

2024-08-23 21:01:33 +02:00
{
2024-08-24 09:52:56 +02:00
lib,
pkgs,
...
}:
with lib; {
2024-08-23 21:01:33 +02:00
services = {
nginx = {
virtualHosts."status.posixlycorrect.com" = {
enableACME = true;
forceSSL = true;
locations."/" = {
proxyPass = "http://127.0.0.1:4456";
};
};
};
uptime-kuma = {
enable = true;
settings = {
HOST = "127.0.0.1";
PORT = "4456";
};
};
};
}