Error 502 While accessing the Gitlab On Redhat/Cent0s7
Gitlab is web based Git-repository manager that provides issue tracking and CI/CD pipelines features using free license.
Follow these link to know more about System Requirement
Check Out : Install Gitlab
You will face this issue as of resources you using it’s not enough to handle the Gitlab. It’s need at least 6GB RAM and 2 core CPU hardware requirement.
Once you have Enough hardware resources you won’t face this issue. If still you face this issue make sure there is only nginx running as Gitlab uses Nginx by default & uninstall if there is any other web server is running.
If issue is still persist, try to change unicorn port in /etc/gitlab/gitlab.rb file
Look for unicorn[ ‘port’ ] = 8080
Change this default port with new one and run below commands
Now check it’s listening on new port or not by lsof -i:port