Fix host url generation for update_apps_urls
This commit is contained in:
parent
7c8f101868
commit
06b66fd04c
@ -271,7 +271,7 @@ class AppMgr:
|
|||||||
|
|
||||||
def update_apps_urls(self):
|
def update_apps_urls(self):
|
||||||
# Update configuration for respective applications
|
# 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)
|
confupdater.update_url(host)
|
||||||
# Restart currently running apps in order to update config and re-register nginx proxy
|
# Restart currently running apps in order to update config and re-register nginx proxy
|
||||||
for app in self.conf['apps']:
|
for app in self.conf['apps']:
|
||||||
|
Loading…
Reference in New Issue
Block a user