From 1f6ff65c9a51651a3bf428bf0d304976bc1c3d79 Mon Sep 17 00:00:00 2001 From: Soispha Date: Sun, 25 Jun 2023 20:36:37 +0200 Subject: Fix(system/services/acme): Leave certs generation to nixos --- system/services/nginx/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'system/services/nginx/default.nix') diff --git a/system/services/nginx/default.nix b/system/services/nginx/default.nix index 6753fb0..3eb98d3 100644 --- a/system/services/nginx/default.nix +++ b/system/services/nginx/default.nix @@ -2,6 +2,10 @@ imports = [ ./hosts.nix ]; + security.acme.acceptTerms = true; + security.acme.defaults.email = "admin@vhack.eu"; + security.acme.defaults.webroot = "/srv/acme/"; + networking.firewall = { allowedTCPPorts = [80 443]; }; @@ -9,3 +13,5 @@ enable = true; }; } +# vim: ts=2 + -- cgit 1.4.1