nginx: set correct acme permissions

This commit is contained in:
Robin Gloster 2016-10-20 11:03:39 +02:00
parent c2eb39faba
commit d05d063572
No known key found for this signature in database
GPG Key ID: 5E4C836C632C2882

View File

@ -392,6 +392,8 @@ in
security.acme.certs = filterAttrs (n: v: v != {}) (
mapAttrs (vhostName: vhostConfig:
optionalAttrs vhostConfig.enableACME {
user = cfg.user;
group = cfg.group;
webroot = vhostConfig.acmeRoot;
extraDomains = genAttrs vhostConfig.serverAliases (alias: null);
postRun = ''