15 lines
323 B
Nix
15 lines
323 B
Nix
{
|
|
services.uptime-kuma = {
|
|
enable = true;
|
|
settings = {
|
|
HOST = "127.0.0.1";
|
|
PORT = "3005";
|
|
};
|
|
};
|
|
services.nginx.virtualHosts."kuma.anotherhadi.com" = {
|
|
enableACME = true;
|
|
locations."/" = { proxyPass = "http://127.0.0.1:3005"; };
|
|
};
|
|
networking.firewall.allowedTCPPorts = [ 3005 ];
|
|
}
|