summaryrefslogtreecommitdiffstats
path: root/lass/2configs/websites/util.nix
diff options
context:
space:
mode:
authorlassulus <lass@aidsballs.de>2016-06-01 00:14:11 +0200
committerlassulus <lass@aidsballs.de>2016-06-01 00:14:11 +0200
commit26394051b339ab46cf7033663cc4a61036dbd6da (patch)
tree1c40398e1698a8def9a6f7e1ac6ee41214076281 /lass/2configs/websites/util.nix
parent76296d5cc5f1ddb1108c3f213204bb386353ad93 (diff)
l 2 websites util: add server-names to manageCerts
Diffstat (limited to 'lass/2configs/websites/util.nix')
-rw-r--r--lass/2configs/websites/util.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/lass/2configs/websites/util.nix b/lass/2configs/websites/util.nix
index 84a20c711..330d8ba86 100644
--- a/lass/2configs/websites/util.nix
+++ b/lass/2configs/websites/util.nix
@@ -24,6 +24,7 @@ rec {
};
krebs.nginx.servers."${domain}" = {
+ server-names = domains;
locations = [
(nameValuePair "/.well-known/acme-challenge" ''
root /var/lib/acme/challenges/${domain}/;