apache proxy and login-setPassword URL

Installation Forum (Inactive)
apache proxy and login-setPassword URL shieldsr  2016-07-21 10:03
Status: Closed
 
I have the Labkey server running at http://servername:8080/labkey and have apache running in front of that to proxy https://servername/labkey to that address. That seems to work fine for the most part.

The only issue I've run into with this is in the emails that are generated for when new users are generated. Those emails reference the http address with port 8080, which is not reachable from outside the server, like this:
http://servername:8080/labkey/login-setPassword.view?verification=somestring&email=username%40domain.com

I'd like that email invite to include an address like this:
https://servername/labkey/login-setPassword.view?verification=somestring&email=username%40domain.com
 
 
Jon (LabKey DevOps) responded:  2016-07-21 13:15
Hi,

You just need to go into the Admin Console and update your Site Settings for the Base server URL to not include the port.

The Base server URL field is used to create links in emails sent by the system. So the emails that get sent out use that URL listed in the Base server URL field to create its links.

To change that value, go to Admin > Site > Admin Console and select Site Settings and you should see that as the 2nd field from the top.

Regards,

Jon
 
shieldsr responded:  2016-07-22 03:29
Easy enough. That seems to have taken care of it.