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<cgit.cgi> (from
+C<publicinbox.cgitbin>, but may be overridden.
+
+Default: basename of C<publicinbox.cgitbin>, /var/www/htdocs/cgit/
+or /usr/share/cgit/
+
+ =item publicinbox.wwwlisting
+
+ Enable a HTML listing style when the root path of the URL '/' is accessed.
+ Valid values are:
+
+ =over 8
+
+ =item all
+
+ Show all inboxes
+
+ =item 404
+
+ Return a 404 page. This is useful to allow customization with
+ L<Plack::App::Cascade(3pm)>
+
+ =item match=domain
+
+ Only show inboxes with URLs which belong to the domain of the HTTP
+ request
+
+ =for TODO comment
+
+ support showing cgit listing
+
+ =back
+
+ Default: 404
+
=back
=head2 NAMED LIMITER (PSGI)
if ($urls =~ m!\b[^:]+://\w+\.onion/!) {
$urls .= "\n note: .onion URLs require Tor: ";
$urls .= qq[<a\nhref="$TOR_URL">$TOR_URL</a>];
- if ($TOR2WEB_URL) {
- $urls .= "\n or Tor2web: ";
- $urls .= qq[<a\nhref="$TOR2WEB_URL">$TOR2WEB_URL</a>];
- }
}
- my $url = PublicInbox::Hval::prurl($ctx->{env}, $CODE_URL);
'<hr><pre>'.join("\n\n",
$desc,
$urls,