diff options
| author | 2023-10-18 21:31:05 +0200 | |
|---|---|---|
| committer | 2023-10-18 21:31:05 +0200 | |
| commit | 7365f8fc4a0883f27d443e7732a036362c61e78a (patch) | |
| tree | 5aef10314f0bf5f4291b381bd7fc24274181c9c0 | |
| parent | Updated documentation. (diff) | |
| download | snac2-7365f8fc4a0883f27d443e7732a036362c61e78a.tar.gz snac2-7365f8fc4a0883f27d443e7732a036362c61e78a.tar.xz snac2-7365f8fc4a0883f27d443e7732a036362c61e78a.zip | |
Updated documentation.
| -rw-r--r-- | doc/snac.8 | 35 |
1 files changed, 34 insertions, 1 deletions
| @@ -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 |
| 392 | Restart the nginx daemon and connect to | 391 | Restart the nginx daemon and connect to |
| @@ -395,6 +394,40 @@ The empty, default screen will be shown. Enter the admin section with the | |||
| 395 | credentials defined for this user. Search people, start following | 394 | credentials defined for this user. Search people, start following |
| 396 | them, engage in arid discussions and generally enjoy the frustrating | 395 | them, engage in arid discussions and generally enjoy the frustrating |
| 397 | experience of Social Media. | 396 | experience of Social Media. |
| 397 | .Pp | ||
| 398 | The following example configures OpenBSD's httpd as a frontend using the | ||
| 399 | FastCGI interface. There is no need to use relayd, as httpd includes | ||
| 400 | native FastCGI support (please take note that you must reconfigure | ||
| 401 | .Nm | ||
| 402 | by setting the fastcgi value to true in the | ||
| 403 | .Pa server.json | ||
| 404 | configuration file). Add the following to the example.com server section in | ||
| 405 | .Pa /etc/httpd.conf : | ||
| 406 | .Bd -literal -offset indent | ||
| 407 | location "/social*" { | ||
| 408 | fastcgi socket tcp "127.0.0.1" 8001 | ||
| 409 | } | ||
| 410 | |||
| 411 | location "/.well-known/webfinger" { | ||
| 412 | fastcgi socket tcp "127.0.0.1" 8001 | ||
| 413 | } | ||
| 414 | |||
| 415 | location "/oauth/*" { | ||
| 416 | fastcgi socket tcp "127.0.0.1" 8001 | ||
| 417 | } | ||
| 418 | |||
| 419 | location "/api/v1/*" { | ||
| 420 | fastcgi socket tcp "127.0.0.1" 8001 | ||
| 421 | } | ||
| 422 | |||
| 423 | location "/api/v2/*" { | ||
| 424 | fastcgi socket tcp "127.0.0.1" 8001 | ||
| 425 | } | ||
| 426 | |||
| 427 | location "/.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 |