Disable caddy forwarding for ZNC

This commit is contained in:
Evie Litherland-Smith 2024-05-19 11:30:45 +01:00
parent 9b7a3d6ffe
commit fd5556906b

View file

@ -1,5 +1,5 @@
{config, ...}: { {config, ...}: {
imports = [./caddy.nix]; # imports = [./caddy.nix];
services.znc = { services.znc = {
enable = true; enable = true;
mutable = false; mutable = false;
@ -16,17 +16,17 @@
Salt = "0vgs)x4KcEmGMK;56QVm"; Salt = "0vgs)x4KcEmGMK;56QVm";
}; };
Network = { Network = {
liberachat = { # liberachat = {
Server = "irc.libera.chat +6697"; # Server = "irc.libera.chat +6697";
Chan = { # Chan = {
"#nixos" = {}; # "#nixos" = {};
"#nixos-wiki" = {}; # "#nixos-wiki" = {};
}; # };
JoinDelay = 2; # JoinDelay = 2;
# };
}; };
}; };
}; };
}; };
}; # services.caddy.virtualHosts."znc.xenia.me.uk".extraConfig = "reverse_proxy http://localhost:${toString config.services.znc.config.Listener.l.Port}";
services.caddy.virtualHosts."znc.xenia.me.uk".extraConfig = "reverse_proxy http://localhost:${toString config.services.znc.config.Listener.l.Port}";
} }