diff options
author | Werner <EvilOlaf@users.noreply.github.com> | 2024-09-10 20:40:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-10 20:40:35 +0200 |
commit | 7bbec19a6a792b7b3fb571853e4e2fb009e02c4c (patch) | |
tree | 2151177c2943d4d12559f57659409cae116189bf /docs | |
parent | 7a4ef240fc8ec97ba957933de3a80e611ad7d1f5 (diff) |
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]
Diffstat (limited to 'docs')
-rw-r--r-- | docs/nginx/dendrite-sample.conf | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/docs/nginx/dendrite-sample.conf b/docs/nginx/dendrite-sample.conf index 360eb925..e45fe168 100644 --- a/docs/nginx/dendrite-sample.conf +++ b/docs/nginx/dendrite-sample.conf @@ -1,5 +1,5 @@ -#change IP to location of monolith server -upstream monolith{ +# change IP to location of monolith server +upstream monolith { server 127.0.0.1:8008; } server { @@ -20,8 +20,9 @@ server { } 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) + # uncomment the following line. # add_header Access-Control-Allow-Origin '*'; return 200 '{ "m.homeserver": { "base_url": "https://my.hostname.com" } }'; } |