From 6d7d4c3d80d0f1b9aa2e05d4983d14b0aa63ed79 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Wed, 13 Apr 2016 12:43:30 +0200 Subject: letsencrypt for all domains --- custom/simp_le.nix | 3 ++- custom/ymir-nginx.nix | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'custom') diff --git a/custom/simp_le.nix b/custom/simp_le.nix index 686533a6..755d8cd6 100644 --- a/custom/simp_le.nix +++ b/custom/simp_le.nix @@ -2,10 +2,11 @@ , simp_le , eject }: -dir: +#dir: domain: let + dir = "/etc/ssl/self/${domain}"; script = writeText "${domain}.sh" '' backupDir=/root/ssl_archive/$(date +'%Y-%m-%d')-$$-${domain} mkdir -p ${dir} diff --git a/custom/ymir-nginx.nix b/custom/ymir-nginx.nix index fd7d7e94..a130bcd1 100644 --- a/custom/ymir-nginx.nix +++ b/custom/ymir-nginx.nix @@ -79,6 +79,9 @@ in { listen [::]:80; server_name _; + include ${favicon}; + include ${acme}; + root /srv/www/praseodym.org; } -- cgit v1.2.3