Document how to configure gitlab-workhorse with omnibus when using Apache
From this comment:
I had a similar issue because I used this apache template and it stated I should edit or create /etc/default/gitlab
. (This file didn't exist and doesn't seem to affect the omnibus gitlab when created manually.)
Being on omnibus I had to use /etc/gitlab/gitlab.rb
instead, but that file was out of date for me. It din't have the 'GitLab git http server' section, so I had to merge the latest changes from the template gitlab.rb.template into it.
Then I changed it to
gitlab_git_http_server['listen_network'] = "tcp"
gitlab_git_http_server['listen_addr'] = "localhost:8181"
and ran sudo gitlab-ctl reconfigure
to get it to listen on TCP port 8181 where apache had been looking for.
Now HTTP(S) cloning and therefore also GitLab CI is working for me using apache on Ubuntu 14.04. (using omnibus package GitLab Community Edition 8.1.2 8c8af7b)