commit 9de9295
default
·
2025-01-16 13:21:54 +0000 UTC
parent b993e26
Updated documentation.
1 files changed,
+15,
-0
+15,
-0
1@@ -683,6 +683,12 @@ location /share {
2 proxy_set_header Host $http_host;
3 proxy_set_header X-Forwarded-For $remote_addr;
4 }
5+# optional (Mastodon-like "authorize interaction" entrypoint)
6+location /authorize_interaction {
7+ proxy_pass http://localhost:8001;
8+ proxy_set_header Host $http_host;
9+ proxy_set_header X-Forwarded-For $remote_addr;
10+}
11 .Ed
12 .Pp
13 Restart the nginx daemon and connect to
14@@ -736,6 +742,11 @@ ProxyPreserveHost On
15 <Location /share>
16 ProxyPass http://127.0.0.1:8001/share
17 </Location>
18+
19+# optional (Mastodon-like "authorize interaction" entrypoint)
20+<Location /authorize_interaction>
21+ ProxyPass http://127.0.0.1:8001/share
22+</Location>
23 .Ed
24 .Pp
25 Since version 2.43,
26@@ -795,6 +806,10 @@ location "/.well-known/host-meta" {
27 location "/share" {
28 fastcgi socket tcp "127.0.0.1" 8001
29 }
30+
31+location "/authorize_interaction" {
32+ fastcgi socket tcp "127.0.0.1" 8001
33+}
34 .Ed
35 .Sh SEE ALSO
36 .Xr snac 1 ,