Fix typo
This commit is contained in:
@@ -1286,7 +1286,7 @@ class WOSiteUpdateController(CementBaseController):
|
|||||||
setupLetsEncrypt(self, wo_domain, True)
|
setupLetsEncrypt(self, wo_domain, True)
|
||||||
httpsRedirect(self, wo_domain)
|
httpsRedirect(self, wo_domain)
|
||||||
elif self.app.pargs.letsencrypt == "wildcard":
|
elif self.app.pargs.letsencrypt == "wildcard":
|
||||||
setupLetsEncrypt(self, wo_domain, false, True,
|
setupLetsEncrypt(self, wo_domain, False, True,
|
||||||
True, wo_acme_dns)
|
True, wo_acme_dns)
|
||||||
httpsRedirect(self, wo_domain, True, True)
|
httpsRedirect(self, wo_domain, True, True)
|
||||||
else:
|
else:
|
||||||
|
|||||||
@@ -1268,8 +1268,8 @@ def doCleanupAction(self, domain='', webroot='', dbname='', dbuser='',
|
|||||||
|
|
||||||
|
|
||||||
# setup letsencrypt for domain + www.domain
|
# setup letsencrypt for domain + www.domain
|
||||||
def setupLetsEncrypt(self, wo_domain_name, subdomain=false, wildcard=false,
|
def setupLetsEncrypt(self, wo_domain_name, subdomain=False, wildcard=False,
|
||||||
wo_dns=false, wo_acme_dns='dns_cf'):
|
wo_dns=False, wo_acme_dns='dns_cf'):
|
||||||
|
|
||||||
if os.path.isfile("/etc/letsencrypt/"
|
if os.path.isfile("/etc/letsencrypt/"
|
||||||
"renewal/{0}_ecc/"
|
"renewal/{0}_ecc/"
|
||||||
|
|||||||
Reference in New Issue
Block a user