summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authordefault <nobody@localhost>2023-04-16 08:14:25 +0200
committerdefault <nobody@localhost>2023-04-16 08:14:25 +0200
commit80cd4eaada3836fb94f55b82a6e2a70d8f83fdb3 (patch)
treeb0934e3a0e6230af3eb42f3849c39e3c3416d824 /doc
parent52e3d6032cf2d56e57f1e192a217f4f46e73c851 (diff)
Updated documentation.
Diffstat (limited to 'doc')
-rw-r--r--doc/snac.86
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/snac.8 b/doc/snac.8
index 3174097..2f60c96 100644
--- a/doc/snac.8
+++ b/doc/snac.8
@@ -341,11 +341,15 @@ location /.well-known/webfinger {
proxy_pass http://localhost:8001;
proxy_set_header Host $http_host;
}
-# Mastodon API (entry point)
+# Mastodon API (entry points)
location /api/v1/ {
proxy_pass http://localhost:8001;
proxy_set_header Host $http_host;
}
+location /api/v2/ {
+ proxy_pass http://localhost:8001;
+ proxy_set_header Host $http_host;
+}
# Mastodon API (OAuth support)
location /oauth {
proxy_pass http://localhost:8001;