htz-cloud.miniserver: backlinks to social media
This commit is contained in:
parent
bebc603c43
commit
768ae0a37a
1 changed files with 10 additions and 0 deletions
|
@ -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 *;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue