✨ [pi4] Added initial Nginx config
This commit is contained in:
@ -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 [
|
||||
{
|
||||
|
Reference in New Issue
Block a user