diff options
author | Soispha <soispha@vhack.eu> | 2023-06-25 20:36:37 +0200 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2023-06-25 20:52:33 +0200 |
commit | 1f6ff65c9a51651a3bf428bf0d304976bc1c3d79 (patch) | |
tree | 996b36f163fbadac2ef6c8131c416a37fdc1870a /system/services/nginx/default.nix | |
parent | Fix(system/services/git-sync): Use correct systemd options (diff) | |
download | nixos-server-1f6ff65c9a51651a3bf428bf0d304976bc1c3d79.tar.gz nixos-server-1f6ff65c9a51651a3bf428bf0d304976bc1c3d79.zip |
Fix(system/services/acme): Leave certs generation to nixos
Diffstat (limited to 'system/services/nginx/default.nix')
-rw-r--r-- | system/services/nginx/default.nix | 6 |
1 files changed, 6 insertions, 0 deletions
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 + |