commit 80cd4eaada3836fb94f55b82a6e2a70d8f83fdb3
parent 52e3d6032cf2d56e57f1e192a217f4f46e73c851
Author: default <nobody@localhost>
Date: Sun, 16 Apr 2023 08:14:25 +0200
Updated documentation.
Diffstat:
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git 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;