Support installing GitLab in a relative URL path or sub directory
Created by: nickbroon
There is clearly demand to support installing GitLab within a subdirectory (For example http://example.com/gitlab). This seem relavent when subdomains cannot be controlled so web server virtual hosts is not an option, and/or it needs to be installed on a host along side other web apps.
Currently appears Gitlab only knows about the host and port and not url path in it's config, as well as needing support for installing into a path, so that even when one of the method for configuring unicorn/passenger etc to install it a relative path things like the notification email links gitlab sends are broken as are the http project links.
Collecting all the issues and pull requests that mention this:
Pull requests attempting to fix some part of this: #1421 use root_url instead of custom web_app_url #642 Added Rails Environment Relative URL
Issues mentioning this: #1413 (closed) It's difficult to deploy gitlab on a sub URI. #1483 (closed) ? Using gitlab from a virtual directory?