bind unicorn listener to 127.0.0.1

otherwise it will listen on 0.0.0.0
This commit is contained in:
Michael Moll 2013-08-22 13:17:58 +02:00
parent 79b76d2cb6
commit b3e07ec334
1 changed files with 1 additions and 1 deletions

View File

@ -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