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, ...}: {
imports = [./caddy.nix];
# imports = [./caddy.nix];
services.znc = {
enable = true;
mutable = false;
@ -16,17 +16,17 @@
Salt = "0vgs)x4KcEmGMK;56QVm";
};
Network = {
liberachat = {
Server = "irc.libera.chat +6697";
Chan = {
"#nixos" = {};
"#nixos-wiki" = {};
};
JoinDelay = 2;
};
# liberachat = {
# Server = "irc.libera.chat +6697";
# Chan = {
# "#nixos" = {};
# "#nixos-wiki" = {};
# };
# 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}";
}