X-Git-Url: http://www.git.stargrave.org/?p=public-inbox.git;a=blobdiff_plain;f=Documentation%2Fpublic-inbox-config.pod;h=6a9739f71433c85ac8bba39ea8e0a0a11b0de5a0;hp=17b8bac70987dab9ede2fef3e6d29bae4f2eb79d;hb=7e881ac8227d1882c92de6f6701ffcba7cef9191;hpb=7a3946ef122e8218c6ce3355d7f968562212d53b diff --git a/Documentation/public-inbox-config.pod b/Documentation/public-inbox-config.pod index 17b8bac7..6a9739f7 100644 --- a/Documentation/public-inbox-config.pod +++ b/Documentation/public-inbox-config.pod @@ -80,8 +80,29 @@ Default: none; only for L users [publicinbox "test"] watchheader = List-Id: +If specified, L will only process mail matching +the given header. Multiple values are not currently supported. + Default: none; only for L users +=item publicinbox..listid + +The L header without +angle brackets for L deliveries and +L. + +For public-inbox-watch users, this is a shortcut for specifying +C> + +For public-inbox-mda users, this may be used to avoid recipient +matching via C environment variable. + +This may be specified multiple times for merging multiple mailing +lists into a single public-inbox, only one C header +needs to match. + +Default: none + =item publicinbox..nntpmirror This may be the full NNTP URL of an independently-run mirror. @@ -91,6 +112,23 @@ C Default: none +=item publicinbox..indexlevel + +The indexing level for L + +C only requires L and provides all +NNTP functionality along with thread-awareness in the WWW +interface. + +C requires L to provide full-text +term search functionality in the WWW UI. + +C also includes positional information used by Xapian to +allow for searching for phrases using quoted text. +(e.g. C<"looking for a complete sentence">) + +Default: C + =item publicinbox..httpbackendmax If a digit, the maximum number of parallel @@ -192,7 +230,7 @@ Default: 25 A comma-delimited list of listings to hide the inbox from. -Valid values are currently "www". +Valid values are currently C and C. Default: none @@ -225,6 +263,19 @@ directive is configured. Default: /var/www/htdocs/cgit/cgit.cgi or /usr/lib/cgit/cgit.cgi +=item publicinbox.cgitdata + +A path to the data directory used by cgit for storing static files. +Typically guessed based the location of C (from +C, but may be overridden. + +Default: basename of C, /var/www/htdocs/cgit/ +or /usr/share/cgit/ + +=item publicinbox.mailEditor + +See L + =item publicinbox.wwwlisting Enable a HTML listing style when the root path of the URL '/' is accessed. @@ -232,19 +283,15 @@ Valid values are: =over 8 -=item all - -Show all inboxes +=item * all +- Show all inboxes -=item 404 - -Return a 404 page. This is useful to allow customization with +=item * 404 +- Return a 404 page. This is useful to allow customization with L -=item match=domain - -Only show inboxes with URLs which belong to the domain of the HTTP -request +=item * match=domain +- Only show inboxes with URLs which belong to the domain of the HTTP request =for TODO comment @@ -252,7 +299,35 @@ support showing cgit listing =back -Default: 404 +Default: C<404> + +=item publicinbox.grokmanifest + +Controls the generation of a grokmirror-compatible gzipped JSON file +at the top-level of the PSGI interface. You generally do not need to +change this from the default. + +Valid values are: + +=over 8 + +=item * match=domain +- Only include inboxes with URLs which belong to the domain of +the HTTP request. This is compatible with virtual hosting where +several domains come from the same host. + +=item * all +- All inboxes are present in C, regardless of domain. +Only use this if you're serving HTTP requests in a domain-agnostic manner. + +=item * 404 +- C will only contain an empty JSON array. +This does NOT affect C<$INBOX_URL/manifest.js.gz>, which will +always contain all git repos used by the inbox at C<$INBOX_URL> + +=back + +Default: C =back @@ -343,11 +418,12 @@ and L =head1 COPYRIGHT -Copyright 2016-2018 all contributors L +Copyright 2016-2019 all contributors L License: AGPL-3.0+ L =head1 SEE ALSO L, L, L, -L, L +L, L, +L