gitlabhq/gitlabhq — pull request #2162 by frohoff (2012-12-03 22:20:52+00:00)
Title: added better support for RAILS_RELATIVE_URL_ROOT and more DRY defaults for git config options

I've made some small changes to more robustly and generically allow running github in non-root context path (i.e. /github) for hostname (and therefore SSL cert) multitenancy. I've been running it in this configuration with apache+mod_proxy and unicorn at work for a couple weeks and everything seems to work, including links in emails, but it's possible there's some darker corners of the app were missed.

I found that in at least some cases executing `bundle exec rake assets:clean` was required to make sure paths embedded within assets (css urls, etc) were regenerated properly.