Updated documentation.

This commit is contained in:
default 2023-04-16 08:14:25 +02:00
parent 52e3d6032c
commit 80cd4eaada

View file

@ -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;