Add mastodon redirect
This commit is contained in:
parent
e05f3eb2f3
commit
91ff010619
1 changed files with 5 additions and 0 deletions
|
@ -14,6 +14,11 @@ server {
|
||||||
try_files $uri $uri/ /index.html;
|
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;
|
error_page 500 502 503 504 /50x.html;
|
||||||
location = /50x.html {
|
location = /50x.html {
|
||||||
root /usr/share/nginx/html;
|
root /usr/share/nginx/html;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue