Commit 999c4888 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge pull request #4845 from mmoll/unicorn_localhost

bind unicorn listener to 127.0.0.1
parents 23d443a5 b3e07ec3
...@@ -26,7 +26,7 @@ working_directory "/home/git/gitlab" # available in 0.94.0+ ...@@ -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, # listen on both a Unix domain socket and a TCP port,
# we use a shorter backlog for quicker failover when busy # we use a shorter backlog for quicker failover when busy
listen "/home/git/gitlab/tmp/sockets/gitlab.socket", :backlog => 64 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) # nuke workers after 30 seconds instead of 60 seconds (the default)
timeout 30 timeout 30
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment