diff options
Diffstat (limited to 'system/services/nginx')
-rw-r--r-- | system/services/nginx/default.nix | 8 | ||||
-rw-r--r-- | system/services/nginx/hosts.nix | bin | 630 -> 976 bytes |
2 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]; }; diff --git a/system/services/nginx/hosts.nix b/system/services/nginx/hosts.nix index 684bb68..1590756 100644 --- a/system/services/nginx/hosts.nix +++ b/system/services/nginx/hosts.nix Binary files differ |