From bbebefd6bfa6688d8f9359254ceb42548d7b290e Mon Sep 17 00:00:00 2001 From: Godwin Date: Sun, 3 May 2015 15:36:00 -0700 Subject: [PATCH] Fixed language detection for our preview environment --- config/unicorn.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/unicorn.rb b/config/unicorn.rb index 7726a39..96cee56 100644 --- a/config/unicorn.rb +++ b/config/unicorn.rb @@ -19,7 +19,7 @@ end working_directory directory # Listen on unix socket -listen port, :backlog => 64 +listen "127.0.0.1:#{port}", :backlog => 64 pid "/home/unicorn/#{ENV['RAILS_ENV']}.pid"