summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordefault <nobody@localhost>2023-10-18 21:31:05 +0200
committerdefault <nobody@localhost>2023-10-18 21:31:05 +0200
commit7365f8fc4a0883f27d443e7732a036362c61e78a (patch)
tree5aef10314f0bf5f4291b381bd7fc24274181c9c0
parent51887172a90885136a5d8994ce807fab8276b878 (diff)
Updated documentation.
-rw-r--r--doc/snac.835
1 files changed, 34 insertions, 1 deletions
diff --git a/doc/snac.8 b/doc/snac.8
index e81103f..945d913 100644
--- a/doc/snac.8
+++ b/doc/snac.8
@@ -386,7 +386,6 @@ location /.well-known/nodeinfo {
proxy_pass http://localhost:8001;
proxy_set_header Host $http_host;
}
-
.Ed
.Pp
Restart the nginx daemon and connect to
@@ -395,6 +394,40 @@ The empty, default screen will be shown. Enter the admin section with the
credentials defined for this user. Search people, start following
them, engage in arid discussions and generally enjoy the frustrating
experience of Social Media.
+.Pp
+The following example configures OpenBSD's httpd as a frontend using the
+FastCGI interface. There is no need to use relayd, as httpd includes
+native FastCGI support (please take note that you must reconfigure
+.Nm
+by setting the fastcgi value to true in the
+.Pa server.json
+configuration file). Add the following to the example.com server section in
+.Pa /etc/httpd.conf :
+.Bd -literal -offset indent
+location "/social*" {
+ fastcgi socket tcp "127.0.0.1" 8001
+}
+
+location "/.well-known/webfinger" {
+ fastcgi socket tcp "127.0.0.1" 8001
+}
+
+location "/oauth/*" {
+ fastcgi socket tcp "127.0.0.1" 8001
+}
+
+location "/api/v1/*" {
+ fastcgi socket tcp "127.0.0.1" 8001
+}
+
+location "/api/v2/*" {
+ fastcgi socket tcp "127.0.0.1" 8001
+}
+
+location "/.well-known/nodeinfo" {
+ fastcgi socket tcp "127.0.0.1" 8001
+}
+.Ed
.Sh SEE ALSO
.Xr snac 1 ,
.Xr snac 5