From: nutra-bot Date: Fri, 5 Sep 2025 01:39:03 +0000 (+0000) Subject: update to fix matrix registry and route X-Git-Url: https://git.nutra.tk/v1?a=commitdiff_plain;h=fa44ddeead248fe47126fa99f37a072c3ddf3e47;p=nutratech%2Fvps-root.git 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 --- 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 {