1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 06:31:02 +00:00

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 = ''