Bind to unix socket
This commit is contained in:
parent
b42a494dec
commit
346c75613d
|
@ -1,7 +1,7 @@
|
||||||
threads_count = ENV.fetch('MAX_THREADS') { 5 }.to_i
|
threads_count = ENV.fetch('MAX_THREADS') { 5 }.to_i
|
||||||
threads threads_count, threads_count
|
threads threads_count, threads_count
|
||||||
|
|
||||||
port ENV.fetch('PORT') { 3000 }
|
bind ENV.fetch('PORT') { '/home/mastodon/live/rails.sock' }
|
||||||
environment ENV.fetch('RAILS_ENV') { 'development' }
|
environment ENV.fetch('RAILS_ENV') { 'development' }
|
||||||
workers ENV.fetch('WEB_CONCURRENCY') { 2 }
|
workers ENV.fetch('WEB_CONCURRENCY') { 2 }
|
||||||
|
|
||||||
|
|
Reference in a new issue