summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 {
341 proxy_pass http://localhost:8001; 341 proxy_pass http://localhost:8001;
342 proxy_set_header Host $http_host; 342 proxy_set_header Host $http_host;
343} 343}
344# Mastodon API (entry point) 344# Mastodon API (entry points)
345location /api/v1/ { 345location /api/v1/ {
346 proxy_pass http://localhost:8001; 346 proxy_pass http://localhost:8001;
347 proxy_set_header Host $http_host; 347 proxy_set_header Host $http_host;
348} 348}
349location /api/v2/ {
350 proxy_pass http://localhost:8001;
351 proxy_set_header Host $http_host;
352}
349# Mastodon API (OAuth support) 353# Mastodon API (OAuth support)
350location /oauth { 354location /oauth {
351 proxy_pass http://localhost:8001; 355 proxy_pass http://localhost:8001;