diff options
Diffstat (limited to 'custom')
-rw-r--r-- | custom/simp_le.nix | 3 | ||||
-rw-r--r-- | custom/ymir-nginx.nix | 3 |
2 files changed, 5 insertions, 1 deletions
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 @@ | |||
2 | , simp_le | 2 | , simp_le |
3 | , eject | 3 | , eject |
4 | }: | 4 | }: |
5 | dir: | 5 | #dir: |
6 | domain: | 6 | domain: |
7 | 7 | ||
8 | let | 8 | let |
9 | dir = "/etc/ssl/self/${domain}"; | ||
9 | script = writeText "${domain}.sh" '' | 10 | script = writeText "${domain}.sh" '' |
10 | backupDir=/root/ssl_archive/$(date +'%Y-%m-%d')-$$-${domain} | 11 | backupDir=/root/ssl_archive/$(date +'%Y-%m-%d')-$$-${domain} |
11 | mkdir -p ${dir} | 12 | 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 { | |||
79 | listen [::]:80; | 79 | listen [::]:80; |
80 | server_name _; | 80 | server_name _; |
81 | 81 | ||
82 | include ${favicon}; | ||
83 | include ${acme}; | ||
84 | |||
82 | root /srv/www/praseodym.org; | 85 | root /srv/www/praseodym.org; |
83 | } | 86 | } |
84 | 87 | ||