mirror of
https://github.com/anotherhadi/nixy.git
synced 2026-04-04 12:02:09 +02:00
Update
This commit is contained in:
14
hosts/server/modules/kuma.nix
Normal file
14
hosts/server/modules/kuma.nix
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
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 ];
|
||||
}
|
||||
Reference in New Issue
Block a user