diff --git a/modules/mailserver.nix b/modules/mailserver.nix index 5d12fca..07fe019 100644 --- a/modules/mailserver.nix +++ b/modules/mailserver.nix @@ -84,7 +84,9 @@ in { }; }; localDnsResolver = false; - certificateScheme = 3; + certificateScheme = 1; + certificateFile = "/var/lib/acme/balsoft.ru/fullchain.pem"; + keyFile = "/var/lib/acme/balsoft.ru/key.pem"; enableImap = true; enableImapSsl = true; virusScanning = false; diff --git a/modules/nginx.nix b/modules/nginx.nix index 24a2099..a413507 100644 --- a/modules/nginx.nix +++ b/modules/nginx.nix @@ -9,6 +9,7 @@ }; in { "balsoft.ru" = { + default = true; locations."/" = { root = "/var/lib/balsoft.ru"; index = "index.txt";