We recently installed the Omniubus GitLab 7.6.2 release with integrated GitLab CI 5.3. I had the same question. This is how we work it.
We use one secure server via https; single ip for gitlab and gitalb-ci hosts. We have DNS records for both host names for the same ip. (Done with an alias for the ci server, I think). We have two ssl certificates, one for each hostname.
We have the following lines at the top of the /etc/gitlab/gitlab.rb script (found by searching on the gitlab website for details on setting up the rb file):
external_url 'https://gitlab.example.edu' nginx['redirect_http_to_https'] = true ci_external_url 'https://gitlab-ci.example.edu' ci_nginx['redirect_http_to_https'] = true
For http, leave nginx instructions.
If gitlab-ci url displays the contents of the gitlab site, then the ci_nginx instruction needs to be adjusted.
source share