mirror of
https://github.com/matrix-org/dendrite.git
synced 2024-11-22 14:21:55 -06:00
cosmetics nginx sample config (#3385)
- fix typo - fix spaces - full sentence Not tests required since no functional change happens ### Pull Request Checklist <!-- Please read https://matrix-org.github.io/dendrite/development/contributing before submitting your pull request --> * [x] I have added Go unit tests or [Complement integration tests](https://github.com/matrix-org/complement) for this PR _or_ I have justified why this PR doesn't need tests * [x] Pull request includes a [sign off below using a legally identifiable name](https://matrix-org.github.io/dendrite/development/contributing#sign-off) _or_ I have already signed off privately Signed-off-by: `Werner <werner@armbian.com>` [skip CI]
This commit is contained in:
parent
7a4ef240fc
commit
7bbec19a6a
|
@ -20,8 +20,9 @@ server {
|
||||||
}
|
}
|
||||||
|
|
||||||
location /.well-known/matrix/client {
|
location /.well-known/matrix/client {
|
||||||
# If your sever_name here doesn't match your matrix homeserver URL
|
# If your server_name here doesn't match your matrix homeserver URL
|
||||||
# (e.g. hostname.com as server_name and matrix.hostname.com as homeserver URL)
|
# (e.g. hostname.com as server_name and matrix.hostname.com as homeserver URL)
|
||||||
|
# uncomment the following line.
|
||||||
# add_header Access-Control-Allow-Origin '*';
|
# add_header Access-Control-Allow-Origin '*';
|
||||||
return 200 '{ "m.homeserver": { "base_url": "https://my.hostname.com" } }';
|
return 200 '{ "m.homeserver": { "base_url": "https://my.hostname.com" } }';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue