[ssl] reload nginx when certificates renew
This commit is contained in:
parent
05183e6b57
commit
8d99d80e5b
1 changed files with 4 additions and 0 deletions
|
|
@ -178,5 +178,9 @@ in
|
||||||
authConfig = c: map (r: r // { domain = fqdn c; }) c.autheliaRules;
|
authConfig = c: map (r: r // { domain = fqdn c; }) c.autheliaRules;
|
||||||
in
|
in
|
||||||
lib.flatten (map authConfig cfg.autheliaProtect);
|
lib.flatten (map authConfig cfg.autheliaProtect);
|
||||||
|
|
||||||
|
security.acme.defaults.reloadServices = [
|
||||||
|
"nginx.service"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue