Fix backend address display in Nginx install

This commit is contained in:
Thomas SUCHON
2024-05-23 15:30:05 +02:00
parent 35f8d5f988
commit ae41db1111

View File

@@ -419,7 +419,7 @@ def post_pref(self, apt_packages, packages, upgrade=False):
["HTTP Auth Password : {0}"
.format(passwd)])
self.msg = (self.msg + [f'WordOps backend is available on https://{server_ip}:22222]) '
'or https://{WOVar.wo_fqdn}:22222'])
f'or https://{WOVar.wo_fqdn}:22222'])
data = dict(release=WOVar.wo_version)
WOTemplate.deploy(self, '/opt/cf-update.sh',
@@ -646,7 +646,8 @@ def post_pref(self, apt_packages, packages, upgrade=False):
.format(php_version[0])):
WOGit.rollback(self, ["/etc/php"], msg="Rollback PHP")
else:
Log.valide(self, "Configuring php{0}-fpm".format(php_version[0]))
Log.valide(
self, "Configuring php{0}-fpm".format(php_version[0]))
WOGit.add(self, ["/etc/php"], msg="Adding PHP into Git")
if os.path.exists('/etc/nginx/conf.d/upstream.conf'):