h2o8
Optimized http/1.x, http/2 server
Usage
h2o [options]
Overview
H2O is a performance-optimized HTTP/1.x and HTTP/2 web server. Designed from ground-up, the server takes full advantage of HTTP/2 features including prioritized content serving and server push.
This manual page describes the options supported by the h2o command. Note that H2O should in most cases be run as a system service (through a systemd(1) service or an initscript).
Options
-
-c, --conf FILE -
Configuration file (default: /etc/h2o/h2o.conf)
-
-m, --mode mode -
mode specifies one of the following modes:
worker-
the
h2oprocess will stay in the foreground and handle all incoming connections itself (default).
master-
h2owill be started using the/usr/share/h2o/start_serverhelper; in this mode thestart_serverprocess will stay in the foreground and spawn anh2oworker process for handling incoming connections. SIGHUP can be sent to the master process to reconfigure or upgrade the server without service downtime.
daemon-
spawns a
masterprocess in the background and exits.error-logmust be configured when using this mode, as all errors are logged to the error log instead of output to standard error.
test-
tests the configuration and exits
-
-t, --test -
Synonym of `--mode=test`
-
-v, --version -
Prints the version number
-
-h, --help -
Prints usage help.
Releases
Unchanged in 3 releases since Debian 10 (Buster).