htz-cloud.miniserver: backlinks to social media

This commit is contained in:
Sophie Schiller 2024-05-29 00:02:29 +02:00
parent bebc603c43
commit 768ae0a37a

View file

@ -8,3 +8,13 @@ location /.well-known/matrix/server {
default_type application/json;
add_header Access-Control-Allow-Origin *;
}
location /.well-known/webfinger {
return 302 'https://chaos.social/.well-known/webfinger?resource=acct:sophie@chaos.social';
}
location /social {
return 200 '<!doctype html><html><body><a rel="me" href="https://chaos.social/@sophie">Mastodon</a></body></html>';
default_type text/html;
add_header Access-Control-Allow-Origin *;
}