[ruby-core:81904] [Ruby trunk Feature#13714] Add https support to "httpd" function inside of "un.rb"

From: shevegen@...
Date: 2017-07-04 18:00:57 UTC
List: ruby-core #81904
Issue #13714 has been updated by shevegen (Robert A. Heiler).


Guess it makes sense.

----------------------------------------
Feature #13714: Add https support to "httpd" function inside of "un.rb"
https://bugs.ruby-lang.org/issues/13714#change-65632

* Author: flavio (Flavio Castelli)
* Status: Open
* Priority: Normal
* Assignee: 
* Target version: 
----------------------------------------
As you know it's possible to run a minimalistic http server using the "httpd" function defined inside of the "un.rb" file:

~~~ text
ruby -run -e httpd . -p 5000
~~~

Unfortunately it's not possible to start a minimalistic https server. The following patch allows this feature:

~~~text
ruby -run -e httpd . -p 5000 --bind-address=0.0.0.0 --ssl-certificate ~/secure/minimal.pem --ssl-private-key ~/secure/minimal.key
~~~



---Files--------------------------------
add-https-support-to-httpd-function.rb (1.15 KB)


-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next