Fixed more ports

This commit is contained in:
niten 2023-09-24 10:23:49 -07:00
parent 213fca416a
commit e9cefb8860
1 changed files with 2 additions and 2 deletions

View File

@ -75,7 +75,7 @@ in {
workers = { workers = {
rspamd_proxy = { rspamd_proxy = {
type = "rspamd_proxy"; type = "rspamd_proxy";
bindSockets = [ "localhost:${toString cfg.port}" ]; bindSockets = [ "localhost:${toString cfg.ports.milter}" ];
count = 4; count = 4;
extraConfig = '' extraConfig = ''
milter = yes; milter = yes;
@ -91,7 +91,7 @@ in {
controller = { controller = {
type = "controller"; type = "controller";
count = 4; count = 4;
bindSockets = [ "localhost:${toString cfg.controller-port}" ]; bindSockets = [ "localhost:${toString cfg.ports.controller}" ];
includes = [ ]; includes = [ ];
}; };
}; };