mirror of
https://github.com/yingziwu/mastodon.git
synced 2026-02-16 23:33:17 +00:00
puma bind addresss
This commit is contained in:
parent
7ef197b663
commit
17ff225076
1 changed files with 2 additions and 1 deletions
|
|
@ -6,7 +6,8 @@ threads threads_count, 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', '127.0.0.1')}:#{ENV.fetch('PORT', 3000)}"
|
||||
bind "tcp://#{ENV.fetch('BIND', '0.0.0.0')}:#{ENV.fetch('PORT', 3000)}"
|
||||
end
|
||||
|
||||
environment ENV.fetch('RAILS_ENV') { 'development' }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue