From 7bbec19a6a792b7b3fb571853e4e2fb009e02c4c Mon Sep 17 00:00:00 2001 From: Werner Date: Tue, 10 Sep 2024 20:40:35 +0200 Subject: [PATCH] cosmetics nginx sample config (#3385) - fix typo - fix spaces - full sentence Not tests required since no functional change happens ### Pull Request Checklist * [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 ` [skip CI] --- docs/nginx/dendrite-sample.conf | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/nginx/dendrite-sample.conf b/docs/nginx/dendrite-sample.conf index 360eb9255..e45fe1685 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" } }'; }