A matrix server is typically available under a subdomain eg.
matrix.<domain>. This commit makes it available additionally simply
under <domain>. Users can now be addressed as @<user>:<domain>. Note,
that this does not work when asked explicitly about server's name.
DNS
---
+Set up <domain> and matrix.<domain>.
+
+<domain> A <IPv4 address>
+<domain> AAAA <IPv6 address>
matrix.<domain> CNAME <domain>
SSL
#
#user_directory:
# search_all_users: false
+
+serve_server_wellknown: true
|
|-> nginx.conf -- /etc/nginx/ :: Main configuration.
|-> mime.types -- /etc/nginx/ :: Available mime types.
+|-> <domain>.template -- /etc/nginx/sites-available/.
`-> matrix.<domain>.template -- /etc/nginx/sites-available.
SSL