update le

This commit is contained in:
VirtuBox
2019-03-18 14:48:07 +01:00
parent 5b6ba2ab0f
commit 31b0622664

View File

@@ -1471,7 +1471,6 @@ def archivedCertificateHandle(self, domain):
Log.info(
self, "Adding /var/www/{0}/conf/nginx/ssl.conf"
.format(domain))
Log.info(self, "Install . Backing it up ..")
sslconf = open("/var/www/{0}/conf/nginx/ssl.conf"
.format(domain),
@@ -1484,6 +1483,8 @@ def archivedCertificateHandle(self, domain):
.format(WOVariables.wo_ssl_live, domain))
sslconf.close()
ssl = True
elif (check_prompt == "2"):
Log.info(self, "Using Existing Certificate files")
if not os.path.isfile("{0}/{1}/fullchain.pem"