dev work
This commit is contained in:
parent
022fe260df
commit
99ffe4c308
@ -8,6 +8,8 @@ Rails.application.configure do
|
||||
# Make code changes take effect immediately without server restart.
|
||||
config.enable_reloading = true
|
||||
|
||||
config.hosts << 'wobbldev.tarrien.net'
|
||||
|
||||
# Do not eager load code on boot.
|
||||
config.eager_load = false
|
||||
|
||||
|
||||
@ -9,7 +9,7 @@ threads min_threads_count, max_threads_count
|
||||
if ENV['SOCKET']
|
||||
bind "unix://#{ENV['SOCKET']}"
|
||||
else
|
||||
bind "tcp://#{ENV.fetch('BIND', '127.0.0.1')}:#{ENV.fetch('PORT', 3000)}"
|
||||
bind "tcp://#{ENV.fetch('BIND', '0.0.0.0')}:#{ENV.fetch('PORT', 3000)}"
|
||||
end
|
||||
|
||||
workers ENV.fetch('WEB_CONCURRENCY') { 2 }.to_i
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user