Commit d0e74984 authored by Marin Jankovski's avatar Marin Jankovski

Merge branch 'unicorn-listen-8080' into 'master'

Make sure Unicorn listens on localhost:8080

Some installations from source run into this when upgrading to 8.0.

See merge request !1435
parents 718817fd 1c9deece
...@@ -87,6 +87,19 @@ cd gitlab-git-http-server ...@@ -87,6 +87,19 @@ cd gitlab-git-http-server
sudo -u git -H make sudo -u git -H make
``` ```
Make sure your unicorn.rb file contains a 'listen' line for
'127.0.0.1:8080' and that this line is not commented out.
```
cd /home/git/gitlab
grep ^listen config/unicorn.rb
# If there is no 'listen' line for 127.0.0.1:8080, add it:
sudo -u git tee -a config/unicorn.rb <<EOF
listen "127.0.0.1:8080", :tcp_nopush => true
EOF
```
If your Git repositories are in a directory other than `/home/git/repositories`, If your Git repositories are in a directory other than `/home/git/repositories`,
you need to tell `gitlab-git-http-server` about it via `/etc/gitlab/default`. you need to tell `gitlab-git-http-server` about it via `/etc/gitlab/default`.
See `lib/support/init.d/gitlab.default.example` for the options. See `lib/support/init.d/gitlab.default.example` for the options.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment