@cryptotaxi247 / infra-1 / commits / 456b6948

Fix ACME config

Eelco Dolstra committed Feb 6, 2018 at 16:33 UTC 456b694829026ebcd7b151aa0832e213c699eee2
1 file changed +2 -1
nixos-org/webserver.nix
+2 -1
@@ -6,7 +6,7 @@ let
6
7 sshKeys = import ../ssh-keys.nix;
8
9 - acmeKeyDir = "/data/acme/";
9 + acmeKeyDir = "/data/acme";
10 acmeWebRoot = "/data/acme/httpd";
11
12 nixosVHostConfig =
@@ -282,6 +282,7 @@ in
282 nix.gc.automatic = true;
283
284 # Let's Encrypt configuration.
285 + security.acme.directory = acmeKeyDir;
286 security.acme.certs = {
287 "nixos.org" =
288 { email = "edolstra@gmail.com";