Use port 443 instead of 8448 for Matrix federation

This commit is contained in:
Anthony Wang 2021-08-24 20:57:20 -05:00
parent 245816c1bf
commit 3fe06cc9ba
Signed by: a
GPG key ID: BC96B00AEC5F2D76
2 changed files with 1 additions and 5 deletions

View file

@ -21,7 +21,7 @@ server {
index index.html;
location /.well-known/matrix/server {
return 200 '{"m.server": "chat.exozy.me"}';
return 200 '{"m.server": "chat.exozy.me:443"}';
}
location /.well-known/webfinger {

View file

@ -2,10 +2,6 @@ server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
# For the federation port
listen 8448 http2 ssl default_server;
listen [::]:8448 http2 ssl default_server;
server_name chat.exozy.me;
ssl_certificate /etc/letsencrypt/live/exozy.me/fullchain.pem;