h2_server (h2 v0.6.0)
View SourceHTTP/2 Standalone Server Escript
A standalone HTTP/2 server that can be run from the command line.
Usage:
h2_server --cert cert.pem --key key.pem [options]
Options:
-p, --port PORT Listen port (default: 8443)
--cert FILE Server certificate (PEM) - required
--key FILE Server private key (PEM) - required
--docroot DIR Document root (default: .)
--echo Echo mode (return request info)
-v, --verbose Show detailed output
-h, --help Show this help