mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
版本更新 0.13.0
This commit is contained in:
@@ -456,8 +456,8 @@ class classApi:
|
||||
# return False
|
||||
|
||||
s_files = [
|
||||
# [self.__VHOST_PATH +
|
||||
# '/nginx/vhost/{}.conf'.format(siteInfo['name']), "网站配置文件"],
|
||||
[self.__VHOST_PATH +
|
||||
'/nginx/vhost/{}.conf'.format(siteInfo['name']), "网站配置文件"],
|
||||
[self.__VHOST_PATH +
|
||||
'/nginx/pass/{}.conf'.format(siteInfo['name']), "PASS"],
|
||||
[self.__VHOST_PATH +
|
||||
@@ -466,11 +466,15 @@ class classApi:
|
||||
'/nginx/redirect/{}'.format(siteInfo['name']), "重定向配置"],
|
||||
[self.__VHOST_PATH +
|
||||
'/nginx/proxy/{}'.format(siteInfo['name']), "反向代理配置"],
|
||||
# [self.__VHOST_PATH +
|
||||
# "/letsencrypt/{}".format(siteInfo['name']), "网站SSL证书"],
|
||||
# [self.__VHOST_PATH + "/ssl/{}".format(siteInfo['name']), "网站SSL证书"]
|
||||
[self.__VHOST_PATH +
|
||||
"/letsencrypt/{}".format(siteInfo['name']), "网站[LETS]SSL证书"],
|
||||
# [self.__VHOST_PATH + "/ssl/{}".format(siteInfo['name']), "网站SSL证书"],
|
||||
]
|
||||
|
||||
if not mw.isAppleSystem():
|
||||
acme_dir = mw.getAcmeDomainDir(siteInfo['name'])
|
||||
s_files.append([acme_dir, "网站[ACME]SSL证书"])
|
||||
|
||||
self.send_list(s_files)
|
||||
|
||||
if not self.send_file_list(siteInfo['path'], siteInfo['path']):
|
||||
|
||||
Reference in New Issue
Block a user