Change default port for ZNC service
This commit is contained in:
parent
149a583cd6
commit
9b7a3d6ffe
|
@ -1,4 +1,4 @@
|
|||
{...}: {
|
||||
{config, ...}: {
|
||||
imports = [./caddy.nix];
|
||||
services.znc = {
|
||||
enable = true;
|
||||
|
@ -7,6 +7,7 @@
|
|||
openFirewall = true;
|
||||
config = {
|
||||
LoadModule = ["adminlog"];
|
||||
Listener.l = {Port = 6697;};
|
||||
User.pixelifytica = {
|
||||
Admin = true;
|
||||
Pass.password = {
|
||||
|
@ -27,5 +28,5 @@
|
|||
};
|
||||
};
|
||||
};
|
||||
services.caddy.virtualHosts."znc.xenia.me.uk".extraConfig = "reverse_proxy http://localhost:6697";
|
||||
services.caddy.virtualHosts."znc.xenia.me.uk".extraConfig = "reverse_proxy http://localhost:${toString config.services.znc.config.Listener.l.Port}";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue