To resolve issues that point to localhost:
Edit the Gitlab configuration vi/etc/gitlab/gitlab.rb, modify the External_url parameter values
[[email protected] ~]$ sudo vi/etc/gitlab/gitlab.rb## Url on which Gitlab would be reachable.## for more details on CO nfiguring external_url see:## https://gitlab.com/gitlab-org/omnibus-gitlab/blob/ 629def0a7a26e7c2326566f0758d4a27857b52a3/readme.md#configuring-the-external-url-for-gitlab' http://localhost' #注释掉, change localhost to your corresponding IP or domain name 'http://10.10.10.152 '
Avatar Display Problem:
sudo vi /etc/gitlab/gitlab.rb #把下面这一行的注释去掉即可gitlab_rails['gravatar_plain _url'http://www.gravatar.com/avatar/%{hash}?s=%{size}&d=identicon' sudo gitlab-sudo gitlab-rake cache: Clear rails_env= Production
:
Reference: http://my.oschina.net/anylain/blog/355797
The custom Gitlab avatar does not display properly and the URL always points to localhost