From 80cd4eaada3836fb94f55b82a6e2a70d8f83fdb3 Mon Sep 17 00:00:00 2001 From: default Date: Sun, 16 Apr 2023 08:14:25 +0200 Subject: [PATCH] Updated documentation. --- doc/snac.8 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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;