forked from mirrors/nixpkgs
nginx: set correct acme permissions
This commit is contained in:
parent
c2eb39faba
commit
d05d063572
|
@ -392,6 +392,8 @@ in
|
||||||
security.acme.certs = filterAttrs (n: v: v != {}) (
|
security.acme.certs = filterAttrs (n: v: v != {}) (
|
||||||
mapAttrs (vhostName: vhostConfig:
|
mapAttrs (vhostName: vhostConfig:
|
||||||
optionalAttrs vhostConfig.enableACME {
|
optionalAttrs vhostConfig.enableACME {
|
||||||
|
user = cfg.user;
|
||||||
|
group = cfg.group;
|
||||||
webroot = vhostConfig.acmeRoot;
|
webroot = vhostConfig.acmeRoot;
|
||||||
extraDomains = genAttrs vhostConfig.serverAliases (alias: null);
|
extraDomains = genAttrs vhostConfig.serverAliases (alias: null);
|
||||||
postRun = ''
|
postRun = ''
|
||||||
|
|
Loading…
Reference in a new issue