From fa44ddeead248fe47126fa99f37a072c3ddf3e47 Mon Sep 17 00:00:00 2001 From: nutra-bot Date: Fri, 5 Sep 2025 01:39:03 +0000 Subject: [PATCH] update to fix matrix registry and route chat.nutra.tk points to dev.nutra.tk and nginx routes those requests to port 8448, which we used to manually suffix the domain with, i.e., dev.nutra.tk:8448 now becomes chat.nutra.tk --- etc/nginx/conf.d/default.conf | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/etc/nginx/conf.d/default.conf b/etc/nginx/conf.d/default.conf index ca6b38b..2cca990 100644 --- a/etc/nginx/conf.d/default.conf +++ b/etc/nginx/conf.d/default.conf @@ -186,6 +186,16 @@ server { } } +# Listen on 443 with matrix / synapse +server { + listen 443 ssl http2; + server_name chat.nutra.tk; + + location / { + proxy_pass http://127.0.0.1:8008; + proxy_set_header X-Forwarded-For $remote_addr; + } +} # Open matrix chat on 8448 server { -- 2.52.0