Adjust znc remote proxy config

This commit is contained in:
Evie Litherland-Smith 2024-05-19 11:49:35 +01:00
parent e2a118142b
commit fb6db061c1

View file

@ -7,7 +7,7 @@
openFirewall = true;
config = {
LoadModule = ["adminlog"];
Listener.l = {Port = 6697;};
Listener.l = {Port = 5100;};
User.pixelifytica = {
Admin = true;
Pass.password = {
@ -28,5 +28,8 @@
};
};
};
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:6697" = {
serverAliases = ["znc.xenia.me.uk" "xenia.me.uk:6697"];
extraConfig = "reverse_proxy http://localhost:${toString config.services.znc.config.Listener.l.Port}";
};
}