From 93a7b219d58aad86438cbf3cbf4318a889831ac1 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Thu, 5 May 2022 10:52:15 +0000 Subject: public-inbox-netd: a multi-protocol superserver Since we'll be adding POP3 support as our 4th network protocol; asking admins to run yet another daemon on top of existing -httpd, -nntpd, -imapd is a maintenance burden and a waste of memory. The goal of public-inbox-netd is to be able to replace all existing read-only daemons with a single process to save memory and reduce administrative overhead; hopefully encouraging more users to self-host their own mirrors. It's barely-tested at the moment. Eventually, multiple PI_CONFIG and HOME directories will be supported, as are per-listener .psgi config files. --- Documentation/public-inbox-netd.pod | 81 +++++++++++++++++++++++++++++++++++++ 1 file changed, 81 insertions(+) create mode 100644 Documentation/public-inbox-netd.pod (limited to 'Documentation/public-inbox-netd.pod') diff --git a/Documentation/public-inbox-netd.pod b/Documentation/public-inbox-netd.pod new file mode 100644 index 00000000..d6520608 --- /dev/null +++ b/Documentation/public-inbox-netd.pod @@ -0,0 +1,81 @@ +=head1 NAME + +public-inbox-netd - read-only network daemon for sharing public-inboxes + +=head1 SYNOPSIS + + public-inbox-netd [OPTIONS] + +=head1 DESCRIPTION + +public-inbox-netd provides a read-only HTTP/IMAP/NNTP/POP3 daemon for +public-inbox. It uses options and environment variables common +to all L implementations. + +The default configuration will never require write access +to the directory where the public-inbox is stored, so it +may be run as a different user than the user running +L, L, or +L. + +=head1 OPTIONS + +See common options in L. + +=over + +=item -l PROTO://ADDRESS/?cert=/path/to/cert,key=/path/to/key + +=item --listen PROTO://ADDRESS/?cert=/path/to/cert,key=/path/to/key + +In addition to the normal C<-l>/C<--listen> switch described in +L, the protocol prefix (e.g. C or +C) may be specified to force a given protocol. + +=item --cert /path/to/cert + +The default TLS certificate for optional TLS support +if the C option is not given with C<--listen>. + +=item --key /path/to/key + +The default private TLS certificate key for optional TLS support +if the C option is not given with C<--listen>. The private +key may concatenated into the path used by C<--cert>, in which case this +option is not needed. + +=back + +=head1 CONFIGURATION + +These configuration knobs should be used in the +L. + +=over 8 + +=item publicinbox..newsgroup + +=item publicinbox.nntpserver + +=back + +See L for documentation on them. + +=head1 CONTACT + +Feedback welcome via plain-text mail to L + +The mail archives are hosted at L, and +L, +L + +=head1 COPYRIGHT + +Copyright all contributors L + +License: AGPL-3.0+ L + +=head1 SEE ALSO + +L, L, L, +L -- cgit v1.2.3-24-ge0c7