Actions
Feature #13714
closedAdd https support to "httpd" function inside of "un.rb"
Status:
Closed
Assignee:
-
Target version:
-
Description
As you know it's possible to run a minimalistic http server using the "httpd" function defined inside of the "un.rb" file:
ruby -run -e httpd . -p 5000
Unfortunately it's not possible to start a minimalistic https server. The following patch allows this feature:
ruby -run -e httpd . -p 5000 --bind-address=0.0.0.0 --ssl-certificate ~/secure/minimal.pem --ssl-private-key ~/secure/minimal.key
Files
Updated by shevegen (Robert A. Heiler) almost 7 years ago
Guess it makes sense.
Updated by nobu (Nobuyoshi Nakada) almost 7 years ago
- Status changed from Open to Closed
Applied in changeset trunk|r59265.
un.rb: support https
- lib/un.rb: add https support. based on the patch by Flavio
Castelli flavio@castelli.name in [ruby-core:81901].
[Feature #13714]
Actions
Like0
Like0Like0