Update site_api.py

This commit is contained in:
midoks 2023-06-17 23:20:24 +08:00
parent 3fa199fec4
commit 99c0b0a81a
1 changed files with 1 additions and 1 deletions

View File

@ -787,7 +787,7 @@ class site_api:
mw.execShell('echo "lets" > "' + path + '/README"')
elif ssl_type == 'acme':
ssl_acme_dir = mw.getAcmeDir() + '/' + site_name
if not os.path.exists(pathacme):
if not os.path.exists(ssl_acme_dir):
ssl_acme_dir = mw.getAcmeDir() + '/' + site_name + '_ecc'
acme_csrpath = ssl_acme_dir + '/fullchain.cer'