Tries RackBaseURI instead of RailsBaseURI for gitlab Apache.