commit 80cd4ea
default
·
2023-04-16 06:14:25 +0000 UTC
parent 52e3d60
Updated documentation.
1 files changed,
+5,
-1
+5,
-1
1@@ -341,11 +341,15 @@ location /.well-known/webfinger {
2 proxy_pass http://localhost:8001;
3 proxy_set_header Host $http_host;
4 }
5-# Mastodon API (entry point)
6+# Mastodon API (entry points)
7 location /api/v1/ {
8 proxy_pass http://localhost:8001;
9 proxy_set_header Host $http_host;
10 }
11+location /api/v2/ {
12+ proxy_pass http://localhost:8001;
13+ proxy_set_header Host $http_host;
14+}
15 # Mastodon API (OAuth support)
16 location /oauth {
17 proxy_pass http://localhost:8001;