From 66c6699142d95cce9e5c9d49e0498161a776cc22 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Wed, 7 Sep 2016 00:47:15 +0000 Subject: doc: new docs for user-level commands Hopefully more folks can download and run public-inbox, nowadays. --- lib/PublicInbox/WWW.pod | 56 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 lib/PublicInbox/WWW.pod (limited to 'lib/PublicInbox/WWW.pod') diff --git a/lib/PublicInbox/WWW.pod b/lib/PublicInbox/WWW.pod new file mode 100644 index 00000000..a1d33a3b --- /dev/null +++ b/lib/PublicInbox/WWW.pod @@ -0,0 +1,56 @@ +=head1 NAME + +PublicInbox::WWW - PSGI interface for public-inbox + +=head1 SYNOPSIS + +In your .psgi file: + + use PublicInbox::WWW; + + my $www = PublicInbox::WWW->new; + builder { + enable 'Head'; + mount '/inboxes' => sub { $www->call(@_) }; + }; + +=head1 DESCRIPTION + +The PSGI web interface for public-inbox. + +Using this directly is not needed unless you wish to customize +your public-inbox PSGI deployment or are using a PSGI server +other than L. + +While this PSGI application works with all PSGI/Plack web +servers such as L, L or L; +PublicInbox::WWW takes advantage of currently-undocumented APIs +of L to improve fairness when serving +large responses for thread views and git clones. + +=head1 ENVIRONMENT + +=over 8 + +=item PI_CONFIG + +Used to override the default "~/.public-inbox/config" value. + +=back + +=head1 CONTACT + +Feedback welcome via plain-text mail to L + +The mail archives are hosted at L +and L + +=head1 COPYRIGHT + +Copyright (C) 2016 all contributors L + +License: AGPL-3.0+ L + +=head1 SEE ALSO + +L, L, L -- cgit v1.2.3-24-ge0c7