Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
ara4n committed Apr 7, 2020
1 parent f2ffd8b commit 42e8a90
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -88,7 +88,7 @@ sudo apt install matrix-synapse-py3
```
mkdir -p /var/www/dangerousdemos.net/.well-known/matrix
cd /var/www/dangerousdemos.net/.well-known/matrix
cat '{ "m.server": "matrix.dangerousdemos.net:443" }' > server
echo '{ "m.server": "matrix.dangerousdemos.net:443" }' > server
```

* **Alternatively**, you could advertise the server via DNS, if you don't have write access to `/.well-known` on your main domain. However, to prove you are allowed to host the Matrix traffic for dangerousdemos.net, you would have to configure nginx to use the dangerousdemos.net TLS certificate for the matrix.dangerousdemos.net vhost (i.e. the "wrong" one), and in general we think that `/.well-known` is much easier to reason about. In this case you would advertise the server with an SRV record like this:
Expand Down

0 comments on commit 42e8a90

Please sign in to comment.