about summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--README.732
1 files changed, 30 insertions, 2 deletions
diff --git a/README.7 b/README.7
index 1dc7bf9..6f1ecd0 100644
--- a/README.7
+++ b/README.7
@@ -19,6 +19,8 @@ and full-text search.
 .Nm
 targets
 .Fx
+and
+.Ox ,
 and requires
 .Lk "https://kristaps.bsd.lv/kcgi/" kcgi
 and SQLite.
@@ -65,7 +67,7 @@ See
 .Xr scooper 1
 for details.
 .
-.Ss FastCGI & nginx
+.Ss nginx
 Use
 .Xr kfcgi 8
 to run
@@ -77,7 +79,6 @@ kfcgi -u www -s /var/run/scooper.sock \e
 	-U $user -p /home/$user/.local \e
 	-- /bin/scooper /share/litterbox/litterbox.sqlite
 .Ed
-.
 .Pp
 Configure
 .Xr nginx 8
@@ -95,6 +96,33 @@ location /scooper/ {
 }
 .Ed
 .
+.Ss OpenBSD httpd
+Use
+.Xr kfcgi 8
+to run
+.Nm
+as the user who owns
+.Xr litterbox 1 :
+.Bd -literal -offset indent
+kfcgi -u www -s /var/www/run/scooper.sock \e
+	-U $user -p /home/$user/.local \e
+	-- /bin/scooper /share/litterbox/litterbox.sqlite
+.Ed
+.Pp
+Configure
+.Xr httpd 8
+to serve
+.Nm
+at
+.Pa /scooper/ ,
+for example:
+.Bd -literal -offset indent
+location "/scooper/*" {
+	request strip 1
+	fastcgi socket "/run/scooper.sock"
+}
+.Ed
+.
 .Sh FILES
 .Bl -tag -width "default.css" -compact
 .It Pa server.h
c/commit/bin/html.sh?id=761a32420ca84ad5de38716f5c03e536551aab29&follow=1'>Delete extraneous <pre> in html.shJune McEnroe 2019-02-24Use setopt in upJune McEnroe 2019-02-24Add setoptJune McEnroe 2019-02-20Match make targets as TagJune McEnroe 2019-02-20Use $PWD in html.sh to pass absolute path to manJune McEnroe 2019-02-20Factor out html.sh and produce html for all sourcesJune McEnroe 2019-02-20Add Dirk Gently's Holistic Detective AgencyJune McEnroe 2019-02-20Move /opt/pkg after /usr in PATHJune McEnroe 2019-02-20Set man_hard_wrap in nvimJune McEnroe 2019-02-18Use hi -o anchor in upJune McEnroe 2019-02-18Don't match nested parentheses in Tag for CJune McEnroe 2019-02-18Match whitespace between * [] {}June McEnroe 2019-02-18Fix function-like #define regexJune McEnroe 2019-02-18Match Tag in RustJune McEnroe 2019-02-18Match sh functions as TagJune McEnroe 2019-02-18Match Sh and Ss as Tag in mdocJune McEnroe 2019-02-18Match statics and typedefs as TagJune McEnroe 2019-02-18Clean up htmlHeaderJune McEnroe 2019-02-18Remove hi line numberingJune McEnroe 2019-02-18Add Tag class to hiJune McEnroe 2019-02-17Generate HTML with hi -n -f html -o anchorJune McEnroe 2019-02-17Add hi -f html -o anchor for line number linksJune McEnroe 2019-02-17Simplify temp trap in upJune McEnroe 2019-02-17Add line numbers to hiJune McEnroe 2019-02-17Always split spans after newlinesJune McEnroe 2019-02-15Color format specifiers light cyan in vimJune McEnroe 2019-02-15Highlight Interp as yellowJune McEnroe 2019-02-15Highlight strings in sh command substitutionsJune McEnroe 2019-02-15Add nmap gpJune McEnroe 2019-02-14Avoid newline when copying URL to pasteboardJune McEnroe 2019-02-13Add forgotten "sixth" book of H2G2June McEnroe