Page 1 of 1

LetsEncrypt for subdomain that is not in Aliases field

Posted: Fri Jan 18, 2019 12:01 pm
by kandalf
I have multiple websites that use a custom http and nginx template, this template automatically creates a, in my vesta panel I have the domain and in the aliases the

When I add SSL (LetsEncrypt), it only creates for and the don't have it.

My custom templates create 2 VirtualHost one for the main domain and one for

Any tips how can I add the to SSL certificate without put it on the aliases field on vesta?

Other solution is to create conditional templates, in then case I put on the aliases but the template ignores it when create the VirtualHost, this is possible?