Fix wo_subdomain
This commit is contained in:
@@ -770,9 +770,6 @@ class WOSiteCreateController(CementBaseController):
|
|||||||
data['letsencrypt'] = True
|
data['letsencrypt'] = True
|
||||||
letsencrypt = True
|
letsencrypt = True
|
||||||
if data['letsencrypt'] is True:
|
if data['letsencrypt'] is True:
|
||||||
if (wo_domain_type == 'subdomain' and
|
|
||||||
(not pargs.letsencrypt == 'wildcard')):
|
|
||||||
pargs.letsencrypt == 'subdomain'
|
|
||||||
if pargs.dns:
|
if pargs.dns:
|
||||||
wo_acme_dns = pargs.dns
|
wo_acme_dns = pargs.dns
|
||||||
wo_dns = True
|
wo_dns = True
|
||||||
@@ -788,6 +785,9 @@ class WOSiteCreateController(CementBaseController):
|
|||||||
else:
|
else:
|
||||||
wo_wildcard = False
|
wo_wildcard = False
|
||||||
wo_subdomain = False
|
wo_subdomain = False
|
||||||
|
if ((wo_domain_type == 'subdomain') and
|
||||||
|
(not pargs.letsencrypt == 'wildcard')):
|
||||||
|
wo_subdomain = True
|
||||||
|
|
||||||
setupLetsEncrypt(self, wo_domain, wo_subdomain, wo_wildcard,
|
setupLetsEncrypt(self, wo_domain, wo_subdomain, wo_wildcard,
|
||||||
wo_dns, wo_acme_dns)
|
wo_dns, wo_acme_dns)
|
||||||
|
|||||||
Reference in New Issue
Block a user