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
  • #2406

Closed
Open
Created Dec 27, 2012 by Administrator@rootOwner

location /gitlab (gitlab in a subdir)

Created by: ghost

this is not gitlab problem actually.. i want my gitlab be accessible on http://my_server/gitlab

i've changed config.ru

 # This file is used by Rack-based servers to start the application.
require ::File.expand_path('../config/environment',  __FILE__)
#https://groups.google.com/forum/#!msg/gitlabhq/mPcpq86VHew/4qupsUY90oEJ
map ActionController::Base.config.relative_url_root || "/" do
    run Gitlab::Application
end

in /etc/init.d/gitlab i've added --path /gitlab

OPTS="-c $APP_ROOT/config/unicorn.rb -E production -D --path /gitlab"

and i've made some changes in nginx config file also

location /gitlab

everything works axcept some assets

GET http://my_server/assets/korolev-medium-compressed-0ce04017f603a435456d17a3d64d2675.otf 404 (Not Found)
GET http://my_server/assets/fontawesome-webfont-745b5efebbdc00fdd6b2c4dc6b957657.woff 404 (Not Found) 
GET http://my_server/assets/fontawesome-webfont-6dd366bc6d7701471ccf87bd905088dc.ttf 404 (Not Found)
GET http://my_server/assets/fontawesome-webfont.svgz 404 (Not Found)
GET http://my_server/assets/fontawesome-webfont.svg 404 (Not Found) 

maybe anybody have any ideas?

Assignee
Assign to
Time tracking