aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/nginx/dendrite-sample.conf7
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" } }';
}