Fix host url generation for update_apps_urls

This commit is contained in:
Disassembler 2018-08-10 21:03:21 +02:00
parent 7c8f101868
commit 06b66fd04c
Signed by: Disassembler
GPG Key ID: 524BD33A0EE29499

View File

@ -271,7 +271,7 @@ class AppMgr:
def update_apps_urls(self):
# Update configuration for respective applications
host = self.domain if self.port != '443' else '{}:{}'.format(self.domain, self.port)
host = '{}:{}'.format(self.domain, self.port) if self.port != '443' else self.domain
confupdater.update_url(host)
# Restart currently running apps in order to update config and re-register nginx proxy
for app in self.conf['apps']: