I checked out the source code behind *external_url*
https://gitlab.com/gitlab-org/omnibus-gitlab/blob/7.2.1.omnibus/files/gitlab-cookbooks/gitlab/libraries/gitlab.rb#L87
And set the variables manually in */etc/gitlab/gitlab.rb*
gitlab_rails['gitlab_https'] = false
gitlab_rails['gitlab_host'] = 'localhost'
gitlab_rails['gitlab_port'] = 1337
Then I checked* /var/opt/gitlab/nginx/conf/gitlab-http.conf*
and saw:
server {
listen *:1337;
server_name localhost;
so it's clear to me that it always binds to *
Is it possible to let it only bind to localhost / 127.0.0.1 *without *
changing */var/opt/gitlab/nginx/conf/gitlab-http.conf*
This is because I want to run GitLab on 127.0.0.1:1337 and then have Apache
proxy 127.0.0.1:1337 to git.mydomain.is
--
You received this message because you are subscribed to the Google Groups
"GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/gitlabhq/669b4826-6926-4a3a-90ec-3474d2278c22%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.