diff --git a/lib/galaxy/managers/interactivetool.py b/lib/galaxy/managers/interactivetool.py index d091c4fd8621..8ba081e60aae 100644 --- a/lib/galaxy/managers/interactivetool.py +++ b/lib/galaxy/managers/interactivetool.py @@ -294,7 +294,8 @@ def target_if_active(self, trans, entry_point): rval = "{}/{}".format(rval.rstrip("/"), entry_point.entry_url.lstrip("/")) else: rval = self.get_entry_point_path(trans, entry_point) - + if not self.app.config.interactivetools_upstream_proxy and self.app.config.interactivetools_proxy_host: + rval = f"{protocol}//{request_host}{rval}" return rval def get_entry_point_subdomain(self, trans, entry_point):