Commit b3e07ec334b8c80c8e745722db4bf620bf2e8e9f
1 parent
79b76d2c
Exists in
master
and in
4 other branches
bind unicorn listener to 127.0.0.1
otherwise it will listen on 0.0.0.0
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
config/unicorn.rb.example
... | ... | @@ -26,7 +26,7 @@ working_directory "/home/git/gitlab" # available in 0.94.0+ |
26 | 26 | # listen on both a Unix domain socket and a TCP port, |
27 | 27 | # we use a shorter backlog for quicker failover when busy |
28 | 28 | listen "/home/git/gitlab/tmp/sockets/gitlab.socket", :backlog => 64 |
29 | -listen 8080, :tcp_nopush => true | |
29 | +listen "127.0.0.1:8080", :tcp_nopush => true | |
30 | 30 | |
31 | 31 | # nuke workers after 30 seconds instead of 60 seconds (the default) |
32 | 32 | timeout 30 | ... | ... |