diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-08-25 12:21:11 -0700 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-08-25 12:21:11 -0700 |
commit | 999c4888fd3d3d83c43d7b88e7060d300553e2d3 (patch) | |
tree | b404cac865f735c4ea247ca1cee248e523f7444d /config/unicorn.rb.example | |
parent | 23d443a512f0bf56ec52c111b638ba7bbc0bbb5f (diff) | |
parent | b3e07ec334b8c80c8e745722db4bf620bf2e8e9f (diff) | |
download | gitlab-ce-999c4888fd3d3d83c43d7b88e7060d300553e2d3.tar.gz |
Merge pull request #4845 from mmoll/unicorn_localhost
bind unicorn listener to 127.0.0.1
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 294d521b66e..812fd5b7449 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 |