diff options
author | Michael Moll <kvedulv@kvedulv.de> | 2013-08-22 15:17:58 +0400 |
---|---|---|
committer | Michael Moll <kvedulv@kvedulv.de> | 2013-08-22 15:17:58 +0400 |
commit | b3e07ec334b8c80c8e745722db4bf620bf2e8e9f (patch) | |
tree | c119fd7a89aa88473ea57778c410a13befbaf3b4 /config/unicorn.rb.example | |
parent | 79b76d2cb65fc0411b65cbd8d6614401fd60473e (diff) |
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.example | 2 |
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 |