[pi4] Fix nginx config with TLS

This commit is contained in:
2025-06-08 21:32:52 +00:00
parent eb8c857940
commit a277e8f3ed
3 changed files with 14 additions and 17 deletions

View File

@ -1,5 +1,4 @@
{
lib,
config,
inputs,
common,
@ -7,7 +6,6 @@
...
}:
let
cfg = config.mailserver;
passwordHashKey = "mailserver/password-hash";
in
{
@ -42,18 +40,5 @@ in
587
];
services.nginx.virtualHosts.${cfg.fqdn}.listen = lib.mkForce [
{
addr = "127.0.0.1";
port = 8003;
ssl = false;
}
{
addr = "192.168.10.188";
port = 8003;
ssl = false;
}
];
sops.secrets.${passwordHashKey}.neededForUsers = true;
}