Fix symlink creation
This commit is contained in:
@@ -1501,10 +1501,12 @@ def copyWildcardCert(self, wo_domain_name, wo_root_domain):
|
|||||||
if os.path.isfile("/var/www/{0}/conf/nginx/ssl.conf"
|
if os.path.isfile("/var/www/{0}/conf/nginx/ssl.conf"
|
||||||
.format(wo_root_domain)):
|
.format(wo_root_domain)):
|
||||||
try:
|
try:
|
||||||
WOFileUtils.create_symlink(self, "/var/www/{0}/conf/nginx/ssl.conf"
|
WOFileUtils.create_symlink(self, ["/var/www/{0}/conf/nginx/"
|
||||||
.format(wo_root_domain),
|
"ssl.conf"
|
||||||
"/var/www/{0}/conf/nginx/ssl.conf"
|
.format(wo_root_domain),
|
||||||
.format(wo_domain_name))
|
'/var/www/{0}/conf/nginx/'
|
||||||
|
'ssl.conf'
|
||||||
|
.format(wo_domain_name)])
|
||||||
except IOError as e:
|
except IOError as e:
|
||||||
Log.debug(self, str(e))
|
Log.debug(self, str(e))
|
||||||
Log.debug(self, "Error occured while "
|
Log.debug(self, "Error occured while "
|
||||||
|
|||||||
Reference in New Issue
Block a user