External Hub redirect using Base url.

I read those threads about external hub connection and link like https://www.jetbrains.com/help/youtrack/standalone/Reverse-Proxy-Configuration.html. And I found these methods too complicated.

So I have two networks in docker. Youtrack suppose to connect to the hub using backend hostname while redirect user end browser url using the hub's base url. But instead Youtrack redirect to the backend Hub's url.

Is there any simple solution to this?


1 comment
Official comment



YouTrack doesn`t support two distinct URLs for external Hub.

It uses the same URL for both accessing Hub REST API and for redirecting end users to Hub pages in  browser.

Feel free to vote for the https://youtrack.jetbrains.com/issue/JT-31366 (it is about supporting two URLs for Hub, though case with external Hub is not mentioned there).


As a workaround you can try to use public Hub URL in YouTrack and map public domain of external Hub to the internal Hub server IP address in /etc/hosts (so that requests made by YouTrack itself go through internal network)



Alexey Barsov

Please sign in to leave a comment.