docs/setup-example: enable nginx

Nginx requires explicit enablement or ACME won't work.
This commit is contained in:
Martin Weinelt
2026-05-24 14:27:21 +02:00
parent 7aeb1d7d76
commit f8e3955323
+4 -1
View File
@@ -25,7 +25,10 @@
networking.firewall.allowedTCPPorts = [ 80 ];
# 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 = {
enable = true;