about summary refs log tree commit diff
diff options
context:
space:
mode:
-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