nginx: generate certificates for custom domains and subdomains
This commit is contained in:
parent
7c7ed5ce06
commit
f3d967f830
3 changed files with 17 additions and 0 deletions
|
@ -29,6 +29,7 @@ in
|
|||
enable = true;
|
||||
virtualHosts."${cfg.fqdn}" = {
|
||||
serverName = cfg.fqdn;
|
||||
serverAliases = cfg.certificateDomains;
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
acmeRoot = acmeRoot;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue