Add CORS header to WEB_DOMAIN example (#1083)

This commit is contained in:
a 2022-12-07 16:23:42 -06:00
parent b3d64b801f
commit 307137eda4
1 changed files with 1 additions and 0 deletions

View File

@ -29,6 +29,7 @@ To install Mastodon on `mastodon.example.com` in such a way it can serve `@alice
```
location /.well-known/webfinger {
add_header Access-Control-Allow-Origin '*';
return 301 https://mastodon.example.com$request_uri;
}
```