Use bound IP address instead
This commit is contained in:
parent
ccb91b4feb
commit
6a14d9d7ad
|
@ -74,7 +74,7 @@
|
|||
cloud.mail = {
|
||||
enable = true;
|
||||
debug = true;
|
||||
local_ip = "178.128.135.11"; # resolved from mx1.nkagami.me
|
||||
local_ip = (builtins.elemAt config.networking.interfaces.eth0.ipv4.addresses 0).address;
|
||||
tls.certFile = "${config.cloud.traefik.certsDumper.destination}/${config.cloud.mail.hostname}/certificate.crt";
|
||||
tls.keyFile = "${config.cloud.traefik.certsDumper.destination}/${config.cloud.mail.hostname}/privatekey.key";
|
||||
usersFile = config.sops.secrets.mail-users.path;
|
||||
|
|
Loading…
Reference in a new issue