Gitlab 部署 HTTPS 后,gitlab-shell 配置文件中的 API URL 没有修改,而 http 强制跳转到 https,gitlab-shell does not follow HTTP redirect,所以 API 访问出错,Access Denied。问题持续约一天。

/home/git/gitlab-shell/config.yml:


gitlab_url: "https://gitlab.lug.ustc.edu.cn/"