Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #1950

Closed
Open
Created Nov 07, 2012 by Administrator@rootOwner

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?

Assignee
Assign to
Time tracking