mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
Handle -Obind options from rackup
This commit is contained in:
parent
d4cf05c51e
commit
fed1c84222
1 changed files with 6 additions and 0 deletions
|
@ -54,6 +54,12 @@ module Puma
|
|||
def load_rackup
|
||||
@app, options = Rack::Builder.parse_file @rackup
|
||||
@options.merge! options
|
||||
|
||||
options.each do |key,val|
|
||||
if key.to_s[0,4] == "bind"
|
||||
@binds << val
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
def run
|
||||
|
|
Loading…
Add table
Reference in a new issue