Fix missing argument

This commit is contained in:
VirtuBox
2019-08-30 10:51:00 +02:00
parent f7ee487901
commit 528aedea0c

View File

@@ -1509,7 +1509,7 @@ def copyWildcardCert(self, wo_domain_name, wo_root_domain):
WOFileUtils.mkdir(self, "/etc/letsencrypt/shared")
if not os.path.isfile("/etc/letsencrypt/shared/{0}.conf"
.format(wo_root_domain)):
WOFileUtils.copyfile("/var/www/{0}/conf/nginx/ssl.conf"
WOFileUtils.copyfile(self, "/var/www/{0}/conf/nginx/ssl.conf"
.format(wo_root_domain),
"/etc/letsencrypt/shared/{0}.conf"
.format(wo_root_domain))