How to change HUB URL in Upsource after Apache reverse proxy setup?

Hello,

I have upsource configured with a standalone hub. The Upsource is behind reverse proxy, so instead of running http://upsource.mydomain.com:8080 I run https://upsource.mydomain.com.

I had this problem however that hub was not configured with reverse proxy, so it was accessed via http://hub.mydomain.com:8081.

I've configured reverse proxy for hub, so now it's accessible both by http://hub.mydomain.com:8081 and https://hub.mydomain.com.

How can I tell Upsource to point the new Hub URL? I've tried via the Upsource Configurator at the upsource starting screen, but when I enter this new URL I get:

"Error: Hub URL https://hub.mydomain.com is invalid"

 

I have to admit I'm really bad at Java software configuration, so any help would be much appreciated!

Thank you in advance for your help :)

Artur

1 comment

Hi Artur,

Have you changed Hub's base url via this command:

<Hub.installation.folder>bin/hub configure --base-url=https://hub.mydomain.com

0

Please sign in to leave a comment.