open port 80 when using LE certs. fixes #42

This commit is contained in:
Robin Raymond 2017-11-26 07:59:31 +01:00
parent 5457321f40
commit 160f3cbc9b
3 changed files with 7 additions and 4 deletions

View File

@ -143,8 +143,9 @@ common ones.
# address = forward address;
"abuse@example.com" = "user1@example.com";
};
# Use Let's Encrypt certificates
# Use Let's Encrypt certificates. Note that this needs to set up a stripped
# down nginx and opens port 80.
certificateScheme = 3;
# Enable IMAP and POP3

View File

@ -193,7 +193,8 @@ in
3) You let the server create a certificate via `Let's Encrypt`. Note that
this implies that a stripped down webserver has to be started. This also
implies that the FQDN must be set as an `A` record to point to the IP of
the server. TODO: Explain more details
the server. In particular port 80 on the server will be opened. For details
on how to set up the domain records, see the guide in the readme.
'';
};

View File

@ -27,7 +27,8 @@ in
++ lib.optional enableImap 143
++ lib.optional enableImapSsl 993
++ lib.optional enablePop3 110
++ lib.optional enablePop3Ssl 995;
++ lib.optional enablePop3Ssl 995
++ lib.optional (certificateScheme == 3) 80;
};
};
}