[pi4] Added initial Nginx config

This commit is contained in:
2025-06-03 19:35:54 +00:00
parent 575452512a
commit b3e6222cac
4 changed files with 93 additions and 3 deletions

View File

@ -33,10 +33,14 @@ in
# Use Let's Encrypt certificates. Note that this needs to set up a stripped
# down nginx and opens port 80.
# certificateScheme = "acme-nginx";
certificateScheme = "acme-nginx";
};
# security.acme.acceptTerms = true;
# security.acme.defaults.email = "security@example.com";
networking.firewall.allowedTCPPorts = [
25
465
587
];
services.nginx.virtualHosts.${cfg.fqdn}.listen = lib.mkForce [
{