diff options
| author | default <nobody@localhost> | 2025-01-16 14:21:54 +0100 |
|---|---|---|
| committer | default <nobody@localhost> | 2025-01-16 14:21:54 +0100 |
| commit | 9de9295837b6b7536be4d9b621d41fd1c22bd750 (patch) | |
| tree | 4d7f99fcff6613713a65ff38a51ea6a3ff3b869e /doc | |
| parent | b993e26346f885586ff0533a3b309ed7d1e910cf (diff) | |
Updated documentation.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/snac.8 | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -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 <Location /share> ProxyPass http://127.0.0.1:8001/share </Location> + +# optional (Mastodon-like "authorize interaction" entrypoint) +<Location /authorize_interaction> + ProxyPass http://127.0.0.1:8001/share +</Location> .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 , |