use socket, needed for nginx

This commit is contained in:
Alexander Stefanov-Khryukin 2015-11-09 13:29:21 +00:00
parent 3470edf813
commit 133c3592f1
1 changed files with 3 additions and 0 deletions

View File

@ -1,3 +1,6 @@
base_path = "/app/rosa-build"
bind 'unix:///app/rosa-build/rosa_build.sock'
environment ENV['RAILS_ENV'] || 'production' environment ENV['RAILS_ENV'] || 'production'
threads *(ENV['PUMA_THREADS'] || '16,16').split(',') threads *(ENV['PUMA_THREADS'] || '16,16').split(',')
workers ENV['PUMA_WORKERS'] || 7 workers ENV['PUMA_WORKERS'] || 7