The custom Gitlab avatar does not display properly and the URL always points to localhost

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.