Project

General

Profile

« Previous | Next » 

Revision 9ea2ac71

Added by Lukas Zapletal over 9 years ago

Fixes #8905 - bind_port config option

View differences:

lib/smart_proxy.rb
Rack::Server.new(
:app => app,
:server => :webrick,
:Host => SETTINGS.bind_host,
:Port => SETTINGS.http_port,
:daemonize => false,
:pid => (SETTINGS.daemon && !https_enabled?) ? pid_path : nil)
......
Rack::Server.new(
:app => app,
:server => :webrick,
:Host => SETTINGS.bind_host,
:Port => SETTINGS.https_port,
:SSLEnable => true,
:SSLVerifyClient => OpenSSL::SSL::VERIFY_PEER,

Also available in: Unified diff