nginx: generate certificates for custom domains and subdomains

This commit is contained in:
Izorkin
2018-11-16 14:11:31 +03:00
committed by Izorkin
parent 7c7ed5ce06
commit f3d967f830
3 changed files with 17 additions and 0 deletions

View File

@@ -29,6 +29,7 @@ in
enable = true;
virtualHosts."${cfg.fqdn}" = {
serverName = cfg.fqdn;
serverAliases = cfg.certificateDomains;
forceSSL = true;
enableACME = true;
acmeRoot = acmeRoot;