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/newswww.psgi | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'examples/newswww.psgi') diff --git a/examples/newswww.psgi b/examples/newswww.psgi index 4753a501..3cce7191 100644 --- a/examples/newswww.psgi +++ b/examples/newswww.psgi @@ -8,8 +8,11 @@ # inbox. NewsWWW exists because people (or software) can mishandle # "nntp://" or "news://" URLs as "http://" (or "https://") # -# Usage: +# Usage (development, with auto-reload): # plackup -I lib -o 127.0.0.1 -R lib -r examples/newswww.psgi +# +# Usage (production, with public-inbox-httpd(1)): +# public-inbox-httpd [OPTIONS] /path/to/examples/newsww.psgi use strict; use warnings; use Plack::Builder; -- cgit v1.2.3-24-ge0c7