mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-22 13:25:04 +00:00
Updated documentation.
This commit is contained in:
parent
52e3d6032c
commit
80cd4eaada
1 changed files with 5 additions and 1 deletions
|
@ -341,11 +341,15 @@ location /.well-known/webfinger {
|
||||||
proxy_pass http://localhost:8001;
|
proxy_pass http://localhost:8001;
|
||||||
proxy_set_header Host $http_host;
|
proxy_set_header Host $http_host;
|
||||||
}
|
}
|
||||||
# Mastodon API (entry point)
|
# Mastodon API (entry points)
|
||||||
location /api/v1/ {
|
location /api/v1/ {
|
||||||
proxy_pass http://localhost:8001;
|
proxy_pass http://localhost:8001;
|
||||||
proxy_set_header Host $http_host;
|
proxy_set_header Host $http_host;
|
||||||
}
|
}
|
||||||
|
location /api/v2/ {
|
||||||
|
proxy_pass http://localhost:8001;
|
||||||
|
proxy_set_header Host $http_host;
|
||||||
|
}
|
||||||
# Mastodon API (OAuth support)
|
# Mastodon API (OAuth support)
|
||||||
location /oauth {
|
location /oauth {
|
||||||
proxy_pass http://localhost:8001;
|
proxy_pass http://localhost:8001;
|
||||||
|
|
Loading…
Reference in a new issue