From 9253dc860de52360d3bc60710422783457143e3d Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Thu, 19 Mar 2020 23:55:50 +0000 Subject: examples/*.psgi: add examples for -httpd public-inbox-httpd should work with any PSGI files, so make it more apparent to people reading .psgi examples. --- examples/cgit.psgi | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'examples/cgit.psgi') diff --git a/examples/cgit.psgi b/examples/cgit.psgi index 3aaa4515..e72e832d 100644 --- a/examples/cgit.psgi +++ b/examples/cgit.psgi @@ -4,8 +4,11 @@ # # PublicInbox::Cgit may be used independently of WWW. # -# Usage: +# Usage (development, with auto-reload): # plackup -I lib -o 127.0.0.1 -R lib -r examples/cgit.psgi +# +# Usage (production, with public-inbox-httpd(1)): +# public-inbox-httpd [OPTIONS] /path/to/examples/cgit.psgi use strict; use warnings; use Plack::Builder; -- cgit v1.2.3-24-ge0c7