Class: Rack::Handler::ThinGlazed

Inherits:
Thin
  • Object
show all
Defined in:
lib/rack/handler/thin_glazed.rb

Class Method Summary collapse

Class Method Details

.run(app, options = {}) ⇒ Object



8
9
10
11
12
13
14
15
16
# File 'lib/rack/handler/thin_glazed.rb', line 8

def self.run(app, options = {})
  EventMachine.run do
    https_proxy = ::Thin::Glazed::Server.new(options[:Host] || '0.0.0.0',
      options[:ProxyPort] || 3443, options[:Port] || 3000)
    https_proxy.start

    super
  end
end