mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-30 02:49:03 +01:00
Default puma to running on localhost only. (#8429)
This commit is contained in:
parent
93537c5560
commit
2a59c6a5e7
1 changed files with 2 additions and 1 deletions
|
@ -4,7 +4,8 @@ threads threads_count, threads_count
|
||||||
if ENV['SOCKET'] then
|
if ENV['SOCKET'] then
|
||||||
bind 'unix://' + ENV['SOCKET']
|
bind 'unix://' + ENV['SOCKET']
|
||||||
else
|
else
|
||||||
port ENV.fetch('PORT') { 3000 }
|
port_num = 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 a new issue