H2O(8)

πŸ“¦
version 2.2.5 Β· 2 versions
, in debian bookworm, ubuntu jammy, ubuntu noble

πŸ’… 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, --conf FILE β€” the configuration file. lowkey important. (default: /etc/h2o/h2o.conf)
  • -m, --mode mode β€” okay so mode is one of these four, and they are NOT the same, bestie, pay attention:
    • worker β€” the h2o process stays in the foreground and handles all the incoming connections itself. this is the default, no cap.
    • master β€” h2o gets started using the /usr/share/h2o/start_server helper. in this mode, the start_server process stays in the foreground and spawns an h2o worker process to handle incoming connections. and here's the slay part: you can send SIGHUP to 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-log must 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