gitlab访问限制问题------Forbidden
解决方案:
cd /etc/gitlab vim /gitlab.rb gitlab_rails['rack_attack_git_basic_auth'] = { 'enabled' => true, 'ip_whitelist' => ["127.0.0.1","IP地址"], 'maxretry' => 300, 'findtime' => 5, 'bantime' => 60 }
保存gitlab配置: gitlab-ctl reconfigure
重启-gitlab: gitlab-ctl restart