git@localhost:dev/django_openstack_auth.git问题


gitlab远程http是localhost怎么修改成域名或IP

修改下面配置文件 

vi /var/opt/gitlab/gitlab-rails/etc/gitlab.yml


修改标红部分信息

production: &base

  #

  # 1. GitLab app settings

  # ==========================


  ## GitLab settings

  gitlab:

    ## Web server settings (note: host is the FQDN, do not include http://)

    host: git.ttonnet.com

    port: 80

    https: false




development:

  <<: *base


test:

  <<: *base

  gravatar:

    enabled: true

  gitlab:

    host: git.ttonnet.com

    port: 80