aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordefault <nobody@localhost>2025-01-06 09:00:02 +0100
committerdefault <nobody@localhost>2025-01-06 09:00:02 +0100
commit265c53635d29eb07a2a7de8cfbf618d833f5398d (patch)
tree7b3a67f0540968e8e3cb8158ded8dad2d2c9dbc9
parentc3be99bcf4989118e9ec7cc6a4f05b0842029122 (diff)
Updated documentation.
-rw-r--r--doc/snac.815
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/snac.8 b/doc/snac.8
index 390bb63..997845a 100644
--- a/doc/snac.8
+++ b/doc/snac.8
@@ -676,6 +676,12 @@ location /.well-known/host-meta {
proxy_set_header Host $http_host;
proxy_set_header X-Forwarded-For $remote_addr;
}
+# optional (Mastodon-like link share entrypoint)
+location /share {
+ 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
@@ -724,6 +730,11 @@ ProxyPreserveHost On
<Location /.well-known/host-meta>
ProxyPass http://127.0.0.1:8001/.well-known/host-meta
</Location>
+
+# optional (Mastodon-like link share entrypoint)
+<Location /share>
+ ProxyPass http://127.0.0.1:8001/share
+</Location>
.Ed
.Pp
Since version 2.43,
@@ -779,6 +790,10 @@ location "/.well-known/nodeinfo" {
location "/.well-known/host-meta" {
fastcgi socket tcp "127.0.0.1" 8001
}
+
+location "/share" {
+ fastcgi socket tcp "127.0.0.1" 8001
+}
.Ed
.Sh SEE ALSO
.Xr snac 1 ,