mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-12 21:10:22 +03:00
Updated documentation.
This commit is contained in:
parent
52e3d6032c
commit
80cd4eaada
@ -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 New Issue
Block a user