summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar default2023-04-16 08:14:25 +0200
committerGravatar default2023-04-16 08:14:25 +0200
commit80cd4eaada3836fb94f55b82a6e2a70d8f83fdb3 (patch)
treeb0934e3a0e6230af3eb42f3849c39e3c3416d824
parentAlso accept /api/v2 urls. (diff)
downloadpenes-snac2-80cd4eaada3836fb94f55b82a6e2a70d8f83fdb3.tar.gz
penes-snac2-80cd4eaada3836fb94f55b82a6e2a70d8f83fdb3.tar.xz
penes-snac2-80cd4eaada3836fb94f55b82a6e2a70d8f83fdb3.zip
Updated documentation.
-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;