Skip to content

Instantly share code, notes, and snippets.

@lorenjohnson
Created June 8, 2015 20:32
Show Gist options
  • Save lorenjohnson/4397eb046a882f9d2e28 to your computer and use it in GitHub Desktop.
Save lorenjohnson/4397eb046a882f9d2e28 to your computer and use it in GitHub Desktop.
diff --git a/config/unicorn.rb b/config/unicorn.rb
index 384149f..41047ea 100644
--- a/config/unicorn.rb
+++ b/config/unicorn.rb
@@ -2,7 +2,7 @@ worker_processes Integer(ENV["WEB_CONCURRENCY"] || 3)
timeout 15
preload_app true
-listen ENV['PORT'], :backlog => Integer(ENV['UNICORN_BACKLOG'] || 200)
+# listen ENV['PORT'], :backlog => Integer(ENV['UNICORN_BACKLOG'] || 200)
before_fork do |server, worker|
Signal.trap 'TERM' do
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment