2 .\" Copyright (c) 2021 Matthias Schmidt
4 .\" Permission to use, copy, modify, and distribute this software for any
5 .\" purpose with or without fee is hereby granted, provided that the above
6 .\" copyright notice and this permission notice appear in all copies.
8 .\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9 .\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10 .\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
11 .\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12 .\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
13 .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
14 .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
22 .Nd Simple gemini server
29 is a simple daemon serving static files over the gemini protocol.
30 It is intended to have as few knobs as possible and has no support for
33 The options are as follows:
36 Enable debug log messages.
37 Most useful together with
41 If this option is specified,
43 will run in the foreground and log to
48 instead of the default 1965.
50 Display the version and exit.
54 listens on the any address (:: and 0.0.0.0) for both IPv4 and IPv6.
57 has support for virtual hosts by default.
58 To serve files for a specific host you have to place them in a sub directory
59 named after the domain under
62 The following path cannot be changed, i.e. you have to name your
63 TLS certificate and key file exactly as shown.
65 .Bl -tag -width Ds -compact
66 .It Pa /etc/twind/twind.cert.pem
69 .It Pa /etc/twind/twind.key.pem
70 Private key for the certificate mentioned above.
72 Default location for the gemini (gmi) files.
73 Contains one sub directory for each virtual host.
74 .It Pa /var/twind/example.com/
75 Subdirectory containing gemini files for the
81 normally exists with 0 or with -1 if an error occurred.
85 .An Matthias Schmidt Aq Mt xhr@giessen.ccc.de .