From b3e07ec334b8c80c8e745722db4bf620bf2e8e9f Mon Sep 17 00:00:00 2001 From: Michael Moll Date: Thu, 22 Aug 2013 13:17:58 +0200 Subject: [PATCH] bind unicorn listener to 127.0.0.1 otherwise it will listen on 0.0.0.0 --- config/unicorn.rb.example | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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