How to setup Gitlab-omnibus with non-bundled web-server?
Solution 1:
Continuing to explore I find the /var/opt/gitlab/
directory and solve this doing:
sudo ln -s /var/opt/gitlab/nginx/conf/gitlab-http.conf /etc/nginx/sites-available/
sudo ln -s /etc/nginx/sites-{available,enabled}/gitlab-http.conf
sudo service nginx reload
Solution 2:
As for gitlab 8, we cannot symlink to the default gitlab-http.conf anymore because the bundle webserver will not be installed when we set nginx['enable'] = false
.
Just download the right web server configs from GitLab recipes repository and change YOUR_SERVER_FQDN
with
your preferred domain name.
See here for detail instructions on how to install gitlab using non-bundled web-server.