about summary refs log tree commit homepage
path: root/examples/public-inbox.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/public-inbox.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/public-inbox.psgi')
-rw-r--r--examples/public-inbox.psgi5
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/public-inbox.psgi b/examples/public-inbox.psgi
index b9817e83..9891a1f0 100644
--- a/examples/public-inbox.psgi
+++ b/examples/public-inbox.psgi
@@ -3,8 +3,13 @@
 # License: GPL-3.0+ <https://www.gnu.org/licenses/gpl-3.0.txt>
 # Note: this is part of our test suite, update t/plack.t if this changes
 # Usage: plackup [OPTIONS] /path/to/this/file
+#
 # A startup command for development which monitors changes:
 #        plackup -I lib -o 127.0.0.1 -R lib -r examples/public-inbox.psgi
+#
+# .psgi paths may also be passed to public-inbox-httpd(1) for
+# production deployments:
+#        public-inbox-httpd [OPTIONS] /path/to/examples/public-inbox.psgi
 use strict;
 use warnings;
 use PublicInbox::WWW;