nginx module: make acme group overrideable easily

This commit is contained in:
Franz Pletz 2017-02-08 20:31:16 +01:00
parent dced724c00
commit 65a1762a9b
No known key found for this signature in database
GPG Key ID: 846FDED7792617B4

View File

@ -416,7 +416,7 @@ in
acmeEnabledVhosts = filter (vhostConfig: vhostConfig.enableACME) vhostsConfigs;
acmePairs = map (vhostConfig: { name = vhostConfig.serverName; value = {
user = cfg.user;
group = cfg.group;
group = lib.mkDefault cfg.group;
webroot = vhostConfig.acmeRoot;
extraDomains = genAttrs vhostConfig.serverAliases (alias: null);
postRun = ''