Commit 999c4888fd3d3d83c43d7b88e7060d300553e2d3

Authored by Dmitriy Zaporozhets
2 parents 23d443a5 b3e07ec3

Merge pull request #4845 from mmoll/unicorn_localhost

bind unicorn listener to 127.0.0.1
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
... ...