From 9de9295837b6b7536be4d9b621d41fd1c22bd750 Mon Sep 17 00:00:00 2001 From: default Date: Thu, 16 Jan 2025 14:21:54 +0100 Subject: Updated documentation. --- doc/snac.8 | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'doc') 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 { proxy_set_header Host $http_host; proxy_set_header X-Forwarded-For $remote_addr; } +# optional (Mastodon-like "authorize interaction" entrypoint) +location /authorize_interaction { + proxy_pass http://localhost:8001; + proxy_set_header Host $http_host; + proxy_set_header X-Forwarded-For $remote_addr; +} .Ed .Pp Restart the nginx daemon and connect to @@ -736,6 +742,11 @@ ProxyPreserveHost On ProxyPass http://127.0.0.1:8001/share + +# optional (Mastodon-like "authorize interaction" entrypoint) + + ProxyPass http://127.0.0.1:8001/share + .Ed .Pp Since version 2.43, @@ -795,6 +806,10 @@ location "/.well-known/host-meta" { location "/share" { fastcgi socket tcp "127.0.0.1" 8001 } + +location "/authorize_interaction" { + fastcgi socket tcp "127.0.0.1" 8001 +} .Ed .Sh SEE ALSO .Xr snac 1 , -- cgit v1.2.3