Browse Source

Updated documentation.

default 3 năm trước cách đây
mục cha
commit
80cd4eaada
1 tập tin đã thay đổi với 5 bổ sung1 xóa
  1. 5 1
      doc/snac.8

+ 5 - 1
doc/snac.8

@@ -341,11 +341,15 @@ location /.well-known/webfinger {
     proxy_pass http://localhost:8001;
     proxy_pass http://localhost:8001;
     proxy_set_header Host $http_host;
     proxy_set_header Host $http_host;
 }
 }
-# Mastodon API (entry point)
+# Mastodon API (entry points)
 location /api/v1/ {
 location /api/v1/ {
     proxy_pass http://localhost:8001;
     proxy_pass http://localhost:8001;
     proxy_set_header Host $http_host;
     proxy_set_header Host $http_host;
 }
 }
+location /api/v2/ {
+    proxy_pass http://localhost:8001;
+    proxy_set_header Host $http_host;
+}
 # Mastodon API (OAuth support)
 # Mastodon API (OAuth support)
 location /oauth {
 location /oauth {
     proxy_pass http://localhost:8001;
     proxy_pass http://localhost:8001;