diff options
Diffstat (limited to 'system/services/nginx/default.nix')
-rw-r--r-- | system/services/nginx/default.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/system/services/nginx/default.nix b/system/services/nginx/default.nix index 6753fb0..404c167 100644 --- a/system/services/nginx/default.nix +++ b/system/services/nginx/default.nix @@ -2,6 +2,14 @@ imports = [ ./hosts.nix ]; + security.acme = { + acceptTerms = true; + defaults = { + email = "admin@vhack.eu"; + webroot = "/var/lib/acme/acme-challenge"; + }; + }; + networking.firewall = { allowedTCPPorts = [80 443]; }; |