Add mastodon redirect

This commit is contained in:
Aram 🍐 2022-12-18 19:05:48 -05:00
parent e05f3eb2f3
commit 91ff010619

View file

@ -14,6 +14,11 @@ server {
try_files $uri $uri/ /index.html;
}
location /.well-known/webfinger {
add_header Access-Control-Allow-Origin '*';
return 301 https://mastodon.poire.dev$request_uri;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;