H2O(8)
π H2O π
okay bestie, we're doing the H2O manual page, from the System Manager's Manual, section 8 (that's the admin/system commands girlies). pull up a chair, grab a strawberry π, and let's get into it.
β¨ NAME β¨
h2o β the optimized HTTP/1.x, HTTP/2 server π
π SYNOPSIS π
h2o [options]
π¦ DESCRIPTION π¦
so H2O is a performance-optimized HTTP/1.x and HTTP/2 web server. and not like, "we bolted HTTP/2 on at the end" β no ma'am, it was designed from the ground up, and it takes full advantage of HTTP/2's features, including prioritized content serving and server push. it's giving main character energy fr fr β¨
this manual page describes the options that the h2o command supports. iykyk.
π«Ά real talk though: H2O should in most cases be run as a system service β through a systemd(1) service or an initscript. that's the vibe. that's the move. don't be out here rawdogging it in a terminal unless you know what you're doing.
π OPTIONS π
-c,--confFILE β the configuration file. lowkey important. (default:/etc/h2o/h2o.conf)-m,--modemode β okay so mode is one of these four, and they are NOT the same, bestie, pay attention:workerβ theh2oprocess stays in the foreground and handles all the incoming connections itself. this is the default, no cap.masterβh2ogets started using the/usr/share/h2o/start_serverhelper. in this mode, thestart_serverprocess stays in the foreground and spawns anh2oworker process to handle incoming connections. and here's the slay part: you can sendSIGHUPto the master process to reconfigure or upgrade the server without service downtime. iconic. no downtime era. πdaemonβ spawns a master process in the background and then exits. β οΈ heads up:error-logmust be configured when you use this mode, because all errors get logged to the error log instead of being output to standard error. so if you forget it, you're just out here with no idea what's happening. tragic.testβ tests the configuration and exits. the vibe check mode. π§
-t,--testβ a synonym of--mode=test. same energy, shorter to type.-v,--versionβ prints the version number. β-h,--helpβ prints usage help. your friend when you're lost. π
π SEE ALSO π
the full documentation for h2o is available in the h2o-doc package, under /usr/share/doc/h2o. go read it, bestie, it's right there.
πΈ AUTHOR πΈ
H2O was written by DeNa Co., Ltd. and Kazuho Oku, and it's distributed under the MIT license. π
this manpage was written by Apollon Oikonomopoulos <apoikos@debian.org> for the Debian project, but may be used by others. shoutout to them, fr fr. π«Ά
and that's the whole page, babes π this was h2o version 2.2.2, dated September 2017, section H2O(8) β love that for us. go forth and serve some HTTP/2. periodt. πβ¨
π¦ where this page comes from
- debian bookworm: h2o 2.2.5+dfsg2-7 Β· MIT
- ubuntu jammy: h2o 2.2.5+dfsg2-6.1ubuntu2 Β· MIT
- ubuntu noble: h2o 2.2.5+dfsg2-8.1ubuntu3 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms