This commit is contained in:
VirtuBox
2019-07-15 10:47:20 +02:00
parent 53b85719f1
commit be2e94327b
2 changed files with 3 additions and 3 deletions

View File

@@ -1286,7 +1286,7 @@ class WOSiteUpdateController(CementBaseController):
setupLetsEncrypt(self, wo_domain, True)
httpsRedirect(self, wo_domain)
elif self.app.pargs.letsencrypt == "wildcard":
setupLetsEncrypt(self, wo_domain, false, True,
setupLetsEncrypt(self, wo_domain, False, True,
True, wo_acme_dns)
httpsRedirect(self, wo_domain, True, True)
else:

View File

@@ -1268,8 +1268,8 @@ def doCleanupAction(self, domain='', webroot='', dbname='', dbuser='',
# setup letsencrypt for domain + www.domain
def setupLetsEncrypt(self, wo_domain_name, subdomain=false, wildcard=false,
wo_dns=false, wo_acme_dns='dns_cf'):
def setupLetsEncrypt(self, wo_domain_name, subdomain=False, wildcard=False,
wo_dns=False, wo_acme_dns='dns_cf'):
if os.path.isfile("/etc/letsencrypt/"
"renewal/{0}_ecc/"