about summary refs log tree commit homepage
path: root/examples/newswww.psgi
diff options
context:
space:
mode:
authorEric Wong <e@yhbt.net>2020-03-19 23:55:50 +0000
committerEric Wong <e@yhbt.net>2020-03-21 05:24:53 +0000
commit9253dc860de52360d3bc60710422783457143e3d (patch)
tree674b66190b26920dcb1b56e3991e06ce7e74ff36 /examples/newswww.psgi
parent7ff686e90a4f26fb7c0ab29fa461329086dd28e5 (diff)
downloadpublic-inbox-9253dc860de52360d3bc60710422783457143e3d.tar.gz
public-inbox-httpd should work with any PSGI files, so make
it more apparent to people reading .psgi examples.
Diffstat (limited to 'examples/newswww.psgi')
-rw-r--r--examples/newswww.psgi5
1 files changed, 4 insertions, 1 deletions
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;