summaryrefslogtreecommitdiff
path: root/doc/snac.8
diff options
context:
space:
mode:
authorGravatar default2025-01-16 14:21:54 +0100
committerGravatar default2025-01-16 14:21:54 +0100
commit9de9295837b6b7536be4d9b621d41fd1c22bd750 (patch)
tree4d7f99fcff6613713a65ff38a51ea6a3ff3b869e /doc/snac.8
parentImplemented Mastodon-like /authorize_interaction. (diff)
downloadpenes-snac2-9de9295837b6b7536be4d9b621d41fd1c22bd750.tar.gz
penes-snac2-9de9295837b6b7536be4d9b621d41fd1c22bd750.tar.xz
penes-snac2-9de9295837b6b7536be4d9b621d41fd1c22bd750.zip
Updated documentation.
Diffstat (limited to 'doc/snac.8')
-rw-r--r--doc/snac.815
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/snac.8 b/doc/snac.8
index 3a4bfcf..3c36f7b 100644
--- a/doc/snac.8
+++ b/doc/snac.8
@@ -683,6 +683,12 @@ location /share {
683 proxy_set_header Host $http_host; 683 proxy_set_header Host $http_host;
684 proxy_set_header X-Forwarded-For $remote_addr; 684 proxy_set_header X-Forwarded-For $remote_addr;
685} 685}
686# optional (Mastodon-like "authorize interaction" entrypoint)
687location /authorize_interaction {
688 proxy_pass http://localhost:8001;
689 proxy_set_header Host $http_host;
690 proxy_set_header X-Forwarded-For $remote_addr;
691}
686.Ed 692.Ed
687.Pp 693.Pp
688Restart the nginx daemon and connect to 694Restart the nginx daemon and connect to
@@ -736,6 +742,11 @@ ProxyPreserveHost On
736<Location /share> 742<Location /share>
737 ProxyPass http://127.0.0.1:8001/share 743 ProxyPass http://127.0.0.1:8001/share
738</Location> 744</Location>
745
746# optional (Mastodon-like "authorize interaction" entrypoint)
747<Location /authorize_interaction>
748 ProxyPass http://127.0.0.1:8001/share
749</Location>
739.Ed 750.Ed
740.Pp 751.Pp
741Since version 2.43, 752Since version 2.43,
@@ -795,6 +806,10 @@ location "/.well-known/host-meta" {
795location "/share" { 806location "/share" {
796 fastcgi socket tcp "127.0.0.1" 8001 807 fastcgi socket tcp "127.0.0.1" 8001
797} 808}
809
810location "/authorize_interaction" {
811 fastcgi socket tcp "127.0.0.1" 8001
812}
798.Ed 813.Ed
799.Sh SEE ALSO 814.Sh SEE ALSO
800.Xr snac 1 , 815.Xr snac 1 ,