Add CORS header to WEB_DOMAIN example (#1083)
This commit is contained in:
parent
b3d64b801f
commit
307137eda4
|
@ -29,6 +29,7 @@ To install Mastodon on `mastodon.example.com` in such a way it can serve `@alice
|
||||||
|
|
||||||
```
|
```
|
||||||
location /.well-known/webfinger {
|
location /.well-known/webfinger {
|
||||||
|
add_header Access-Control-Allow-Origin '*';
|
||||||
return 301 https://mastodon.example.com$request_uri;
|
return 301 https://mastodon.example.com$request_uri;
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue