summaryrefslogtreecommitdiff
path: root/config/unicorn.rb.example
diff options
context:
space:
mode:
authorMichael Moll <kvedulv@kvedulv.de>2013-08-22 13:17:58 +0200
committerMichael Moll <kvedulv@kvedulv.de>2013-08-22 13:17:58 +0200
commitb3e07ec334b8c80c8e745722db4bf620bf2e8e9f (patch)
treec119fd7a89aa88473ea57778c410a13befbaf3b4 /config/unicorn.rb.example
parent79b76d2cb65fc0411b65cbd8d6614401fd60473e (diff)
downloadgitlab-ce-b3e07ec334b8c80c8e745722db4bf620bf2e8e9f.tar.gz
bind unicorn listener to 127.0.0.1
otherwise it will listen on 0.0.0.0
Diffstat (limited to 'config/unicorn.rb.example')
-rw-r--r--config/unicorn.rb.example2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/unicorn.rb.example b/config/unicorn.rb.example
index e010de6d6a9..7f2097071cc 100644
--- a/config/unicorn.rb.example
+++ b/config/unicorn.rb.example
@@ -26,7 +26,7 @@ working_directory "/home/git/gitlab" # available in 0.94.0+
# listen on both a Unix domain socket and a TCP port,
# we use a shorter backlog for quicker failover when busy
listen "/home/git/gitlab/tmp/sockets/gitlab.socket", :backlog => 64
-listen 8080, :tcp_nopush => true
+listen "127.0.0.1:8080", :tcp_nopush => true
# nuke workers after 30 seconds instead of 60 seconds (the default)
timeout 30