summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar default2023-10-18 21:31:05 +0200
committerGravatar default2023-10-18 21:31:05 +0200
commit7365f8fc4a0883f27d443e7732a036362c61e78a (patch)
tree5aef10314f0bf5f4291b381bd7fc24274181c9c0
parentUpdated documentation. (diff)
downloadsnac2-7365f8fc4a0883f27d443e7732a036362c61e78a.tar.gz
snac2-7365f8fc4a0883f27d443e7732a036362c61e78a.tar.xz
snac2-7365f8fc4a0883f27d443e7732a036362c61e78a.zip
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 {
386 proxy_pass http://localhost:8001; 386 proxy_pass http://localhost:8001;
387 proxy_set_header Host $http_host; 387 proxy_set_header Host $http_host;
388} 388}
389
390.Ed 389.Ed
391.Pp 390.Pp
392Restart the nginx daemon and connect to 391Restart the nginx daemon and connect to
@@ -395,6 +394,40 @@ The empty, default screen will be shown. Enter the admin section with the
395credentials defined for this user. Search people, start following 394credentials defined for this user. Search people, start following
396them, engage in arid discussions and generally enjoy the frustrating 395them, engage in arid discussions and generally enjoy the frustrating
397experience of Social Media. 396experience of Social Media.
397.Pp
398The following example configures OpenBSD's httpd as a frontend using the
399FastCGI interface. There is no need to use relayd, as httpd includes
400native FastCGI support (please take note that you must reconfigure
401.Nm
402by setting the fastcgi value to true in the
403.Pa server.json
404configuration file). Add the following to the example.com server section in
405.Pa /etc/httpd.conf :
406.Bd -literal -offset indent
407location "/social*" {
408 fastcgi socket tcp "127.0.0.1" 8001
409}
410
411location "/.well-known/webfinger" {
412 fastcgi socket tcp "127.0.0.1" 8001
413}
414
415location "/oauth/*" {
416 fastcgi socket tcp "127.0.0.1" 8001
417}
418
419location "/api/v1/*" {
420 fastcgi socket tcp "127.0.0.1" 8001
421}
422
423location "/api/v2/*" {
424 fastcgi socket tcp "127.0.0.1" 8001
425}
426
427location "/.well-known/nodeinfo" {
428 fastcgi socket tcp "127.0.0.1" 8001
429}
430.Ed
398.Sh SEE ALSO 431.Sh SEE ALSO
399.Xr snac 1 , 432.Xr snac 1 ,
400.Xr snac 5 433.Xr snac 5