web: add mastodon webfinger
This commit is contained in:
parent
9873b56a29
commit
2621bd671f
|
@ -48,6 +48,9 @@ in
|
||||||
index portal.html index.html;
|
index portal.html index.html;
|
||||||
'';
|
'';
|
||||||
locations = {
|
locations = {
|
||||||
|
# Mastodon
|
||||||
|
"/.well-known/webfinger".return = "301 https://c3d2.social$request_uri";
|
||||||
|
|
||||||
# SpaceAPI
|
# SpaceAPI
|
||||||
"/status.png".proxyPass = "http://[${config.c3d2.hosts.spaceapi.ip6}]:3000/status.png";
|
"/status.png".proxyPass = "http://[${config.c3d2.hosts.spaceapi.ip6}]:3000/status.png";
|
||||||
"/spaceapi.json".proxyPass = "http://[${config.c3d2.hosts.spaceapi.ip6}]:3000/spaceapi.json";
|
"/spaceapi.json".proxyPass = "http://[${config.c3d2.hosts.spaceapi.ip6}]:3000/spaceapi.json";
|
||||||
|
|
Loading…
Reference in New Issue