After setting the relative url in gitlab:

# Note that three settings need to be changed for this to work.
# 1) In your application.rb file: config.relative_url_root = "/gitlab"
# 2) In your gitlab.yml file: relative_url_root: /gitlab
# 3) In your unicorn.rb: ENV['RAILS_RELATIVE_URL_ROOT'] = "/gitlab"

I can access my gitlab via dyndns. (like https://my_subdomain.dyndns.com/gitlab).


Instead of normal icons I get strange china-styled ones:

enter image description here

Sidekiq has problems in displaying, too. I have nginx running.
I followed the official guide.


Found answer -.-

$ sudo -u git -H vim config/application.rb

Uncomment the line nr: 73

Change assets version in line nr: 69

config.assets.version = '1.0.1'

Update assets:

$ sudo -u git -H RAILS_ENV=production bundle exec rake assets:precompile

Restart gitlab:

$ sudo service gitlab restart

Please read!


(If someone has the same problems)

  • 1
    Whilst this answers your question, it would be preferable to include the essential parts of the answer here, and provide the link for reference. – slm Jan 26 '14 at 1:29
  • will edit it later, sorry – x4k3p Jan 26 '14 at 1:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.