Bind to unix socket

This commit is contained in:
Kegan Myers 2017-04-20 21:27:15 -05:00
parent 346c75613d
commit d935b26307
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
threads_count = ENV.fetch('MAX_THREADS') { 5 }.to_i
threads threads_count, threads_count
bind ENV.fetch('PORT') { '/home/mastodon/live/rails.sock' }
bind ENV.fetch('PORT') { 'unix:/home/mastodon/live/web.sock' }
environment ENV.fetch('RAILS_ENV') { 'development' }
workers ENV.fetch('WEB_CONCURRENCY') { 2 }