hermes

HTTP GET/HEAD-only web server for static content.
git clone https://git.francescosaccone.com/hermes
Log | Files | Refs | README | LICENSE

hermes.1 (892B)


      1 .Dd 2025-04-01
      2 .Dt HERMES 1
      3 .Os francescosaccone.com
      4 .Sh NAME
      5 .Nm hermes
      6 .Nd HTTP GET/HEAD-only web server for static content
      7 .Sh SYNOPSIS
      8 .Nm
      9 .Fl d Ar directory
     10 .Op Fl p Ar port
     11 .Op Fl i Ar file
     12 .Op Fl u Ar user
     13 .Op Fl g Ar group
     14 .Sh DESCRIPTION
     15 .Nm
     16 is a minimalist GET/HEAD-only HTTP server for hosting static content.
     17 .Sh OPTIONS
     18 .Bl -tag -width Ds
     19 .It Fl d Ar directory
     20 Chroot into
     21 .Ar directory
     22 and serve statically from there.
     23 .It Fl p Ar port
     24 Listen on port
     25 .Ar port
     26 for incoming connections.
     27 The default is 80.
     28 .It Fl i Ar file
     29 Use
     30 .Ar file
     31 as the directory index file.
     32 The default is "index.html".
     33 .It Fl u Ar user
     34 Drop privileges by setting the user ID to the ID of
     35 .Ar user
     36 .
     37 The default is "nobody".
     38 .It Fl g Ar group
     39 Drop privileges by setting the group ID to the ID of
     40 .Ar group
     41 .
     42 The default is "nogroup".
     43 .Sh AUTHORS
     44 .An Francesco Saccone Aq Mt francesco@francescosaccone.com