Setting up Upsource & YouTrack through reverse proxy

I have previously set up Hub, YouTrack, and Upsource to work on our local network and this worked fine. Now I'm trying to setup a reverse proxy so we can access it at office.domain.com/hub for Hub office.domain.com/bugs for YouTrack and office.domain.com/review for Upsource. We have a pfSense router and I'm running squid on top of that. I currently have hub working the problem is when I try and navigate to YouTrack or Upsource the page loads and I can see everything then after a few seconds it redirects me to  /hub/api/rest/oauth2/auth and shows a 404 error saying "Problem accessing  /hub/api/rest/oauth2/auth. Reason Not Found" Any suggestions?

2 comments
Comment actions Permalink

Fixed by switching to using sub domains and using HAproxy

0
Comment actions Permalink

Hi Christian

 

We wanna have the same solution as you have, but unfotunately, I only get youtrack or hub to work. I started up both (youtrack on port 8081, hub on 8080). / and /hub are passed to port 8080 and /youtrack is passed to port 8081. I can only reach hub via /hub, youtrack nothing. Weirdly, when I map / to 8081, I can access youtrack via /youtrack, but nothing via / or /hub. Maybe you can help me?

 

Thanks in advance

Christoph

0

Please sign in to leave a comment.