docs/setup-example: enable nginx
Nginx requires explicit enablement or ACME won't work.
This commit is contained in:
@@ -25,7 +25,10 @@
|
|||||||
networking.firewall.allowedTCPPorts = [ 80 ];
|
networking.firewall.allowedTCPPorts = [ 80 ];
|
||||||
|
|
||||||
# Enable ACME HTTP-01 challenge with nginx
|
# Enable ACME HTTP-01 challenge with nginx
|
||||||
services.nginx.virtualHosts.${config.mailserver.fqdn}.enableACME = true;
|
services.nginx = {
|
||||||
|
enable = true;
|
||||||
|
virtualHosts.${config.mailserver.fqdn}.enableACME = true;
|
||||||
|
};
|
||||||
|
|
||||||
mailserver = {
|
mailserver = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user