I have an Ubuntu 14.4 server which has Nginx on it, I installed Gitlab omnibus package on it which is bundled with it's own Nginx server, So for the sake of using only one Nginx server to save resources i configured Gitlab to use the non bundled server by using this instructions but the problem is that i have the Big Blue Button web conferencing system installed on the server and it's using the port 80, so i couldn't access Gitlab via the browser at all. I tried using the bundled server with different port for it and it worked but is there anyway that i can make Gitlab use the non bundled server but with a different port than 80 or with it's own directory?
I freshly installed gitlab and nginx in CentOS7. Your install might be different, but this is the spirit.
So I followed the instructions they provide. Edit
/etc/gitlab/gitlab.rb
:Then I
gitlab-ctl reconfigure
After that I created the following server in nginx. On my installation I had to modify the provided file /etc/nginx/conf.d/default.conf, but I guess you should just look for the file where you define your servers.
And now I can access Gitlab from myip:88.
Hope it will help you.