diff options
| author | 2023-04-16 08:14:25 +0200 | |
|---|---|---|
| committer | 2023-04-16 08:14:25 +0200 | |
| commit | 80cd4eaada3836fb94f55b82a6e2a70d8f83fdb3 (patch) | |
| tree | b0934e3a0e6230af3eb42f3849c39e3c3416d824 | |
| parent | Also accept /api/v2 urls. (diff) | |
| download | snac2-80cd4eaada3836fb94f55b82a6e2a70d8f83fdb3.tar.gz snac2-80cd4eaada3836fb94f55b82a6e2a70d8f83fdb3.tar.xz snac2-80cd4eaada3836fb94f55b82a6e2a70d8f83fdb3.zip | |
Updated documentation.
| -rw-r--r-- | doc/snac.8 | 6 |
1 files changed, 5 insertions, 1 deletions
| @@ -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) |
| 345 | location /api/v1/ { | 345 | location /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 | } |
| 349 | location /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) |
| 350 | location /oauth { | 354 | location /oauth { |
| 351 | proxy_pass http://localhost:8001; | 355 | proxy_pass http://localhost:8001; |