l 2 websites util: add server-names to manageCerts

This commit is contained in:
lassulus 2016-06-01 00:14:11 +02:00
parent 76296d5cc5
commit 26394051b3

View File

@ -24,6 +24,7 @@ rec {
}; };
krebs.nginx.servers."${domain}" = { krebs.nginx.servers."${domain}" = {
server-names = domains;
locations = [ locations = [
(nameValuePair "/.well-known/acme-challenge" '' (nameValuePair "/.well-known/acme-challenge" ''
root /var/lib/acme/challenges/${domain}/; root /var/lib/acme/challenges/${domain}/;