class Rails::Server
Public Instance Methods
default_options()
click to toggle source
Calls superclass method
# File lib/Salesforce/oauth2/templates/rails, line 16 def default_options super.merge({ :Port => 3000, :environment => (ENV['RAILS_ENV'] || "development").dup, :daemonize => false, :debugger => false, :pid => File.expand_path("tmp/pids/server.pid"), :config => File.expand_path("config.ru"), :SSLEnable => true, :SSLVerifyClient => OpenSSL::SSL::VERIFY_NONE, :SSLPrivateKey => OpenSSL::PKey::RSA.new( File.open("lib/certs/server.key").read), :SSLCertificate => OpenSSL::X509::Certificate.new( File.open("lib/certs/server.crt").read), :SSLCertName => [["CN", WEBrick::Utils::getservername]] }) end