接続時のエラーに対するトラブルシューティング

502 Whoops, GitLab is taking too much time to respond.

他のサービス(Apacheなど)で使用しているポートが重複していることが原因である. 以下のように,ポート番号を変更し,対応する.

/etc/gitlab/gitlab.rb

...
- external_url 'http://***.com'
+ external_url 'http://***.com:8081'
...
- # nginx['enable'] = true
+ nginx['enable'] = true
...
- # nginx['listen_port'] = nil
+ nginx['listen_port'] = 8081
...