Fix wo stack migrate --nginx with wildcard certificate
This commit is contained in:
@@ -118,7 +118,8 @@ class WOStackMigrateController(CementBaseController):
|
||||
for site in allsites:
|
||||
if not site:
|
||||
pass
|
||||
if os.path.exists(f'/var/www/{site.sitename}/conf/nginx/ssl.conf'):
|
||||
if (os.path.exists(f'/var/www/{site.sitename}/conf/nginx/ssl.conf') and
|
||||
not os.path.islink(f'/var/www/{site.sitename}/conf/nginx/ssl.conf')):
|
||||
data = dict(ssl_live_path=WOVar.wo_ssl_live,
|
||||
domain=site.sitename, quic=True)
|
||||
WOTemplate.deploy(
|
||||
|
||||
@@ -15,7 +15,7 @@ class WOVar():
|
||||
"""Intialization of core variables"""
|
||||
|
||||
# WordOps version
|
||||
wo_version = "3.21.0"
|
||||
wo_version = "3.21.1"
|
||||
# WordOps packages versions
|
||||
wo_adminer = "4.8.1"
|
||||
wo_phpmyadmin = "5.2.0"
|
||||
|
||||
Reference in New Issue
Block a user