1
0

hosts/web-2: Remove znc

This commit is contained in:
clerie 2024-02-18 14:40:26 +01:00
parent 0118788e82
commit 692da961d8
2 changed files with 0 additions and 30 deletions

View File

@ -26,7 +26,6 @@
./tap.nix
./uptimestatus.nix
./wetter.nix
./znc.nix
];
boot.loader.grub.enable = true;

View File

@ -1,29 +0,0 @@
{ ... }:
{
services.znc = {
enable = true;
mutable = true;
dataDir = "/var/lib/znc";
configFile = "/var/lib/znc/configs/znc.conf";
};
services.nginx.virtualHosts = {
"znc.clerie.de" = {
enableACME = true;
forceSSL = true;
locations."/" = {
proxyPass = "http://127.0.0.1:1313";
};
};
};
clerie.nginx-port-forward = {
enable = true;
tcpPorts."6697" = {
host = "127.0.0.1";
port = 1311;
certName = "znc.clerie.de";
};
};
}