diff --git a/config/nginx.conf b/config/nginx.conf index f7970f3..1f00fdf 100644 --- a/config/nginx.conf +++ b/config/nginx.conf @@ -1,5 +1,5 @@ upstream nb_app_unicorn { - server unix:/home/web/nb_app/shared/tmp/unicorn.sock fail_timeout=0; + server unix:/home/web/nb_app/shared/unicorn.sock fail_timeout=0; } server { diff --git a/config/unicorn.rb b/config/unicorn.rb index e45d2a0..cbe9956 100644 --- a/config/unicorn.rb +++ b/config/unicorn.rb @@ -5,6 +5,6 @@ pid "/home/web/#{@rails_app}/shared/unicorn.pid" stderr_path "/home/web/#{@rails_app}/shared/log/unicorn.log" stdout_path "/home/web/#{@rails_app}/shared/log/unicorn.log" -listen "/home/web/#{@rails_app}/shared/tmp/unicorn.sock" +listen "/home/web/#{@rails_app}/shared/unicorn.sock" worker_processes 2 timeout 30 \ No newline at end of file