2018年4月9日 星期一

[Git] gitlab 遇到 internal API unreachable remote rejected 问题


  • 修改 /etc/gitlab/gitlab.rb
    # gitlab_shell['http_settings'] = { user: 'username', password: 'password', ca_file: '/etc/ssl/cert.pem', ca_path: '/etc/pki/tls/certs', self_signed_cert: false}

    修改如下:

    gitlab_shell['http_settings'] = {self_signed_cert: true}
  • reconfigure & restart
    #gitlab-ctl reconfigure ; gitlab-ctl restart


Reference :
[1] GitLab: Failed to authorize your Git request: inte

沒有留言:

張貼留言