Revert "Default puma to running on localhost only." (#8444)
* Revert "Default puma to running on localhost only. (#8429)"
This reverts commit 01896d770d
.
lolsob-rspec
parent
660475198b
commit
2b2045834e
|
@ -4,8 +4,7 @@ threads threads_count, threads_count
|
||||||
if ENV['SOCKET'] then
|
if ENV['SOCKET'] then
|
||||||
bind 'unix://' + ENV['SOCKET']
|
bind 'unix://' + ENV['SOCKET']
|
||||||
else
|
else
|
||||||
port_num = ENV.fetch('PORT') { 3000 }
|
port ENV.fetch('PORT') { 3000 }
|
||||||
bind "tcp://127.0.0.1:#{port_num}"
|
|
||||||
end
|
end
|
||||||
|
|
||||||
environment ENV.fetch('RAILS_ENV') { 'development' }
|
environment ENV.fetch('RAILS_ENV') { 'development' }
|
||||||
|
|
Loading…
Reference in New Issue