From 416999e8b22ceb6265b3c31555b1ba72170773c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Haoran=20S=2E=20Diao=20=28=E5=88=81=E6=B5=A9=E7=84=B6=29?= <0@hairydiode.xyz> Date: Sat, 6 Sep 2025 16:17:24 -0700 Subject: Rebasing everything into a new repo --- cont/matrix.html | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 cont/matrix.html (limited to 'cont/matrix.html') diff --git a/cont/matrix.html b/cont/matrix.html new file mode 100644 index 0000000..83287be --- /dev/null +++ b/cont/matrix.html @@ -0,0 +1,35 @@ +[TITLE] [DATE] +-------------------------------------------------------------------------------- +[SETTITLE]Matrix Homeserver +[SETDATE]3-17-2019 +UPDATE: + Due to the lack of suitable clients and the lack of user adoption, my + Matrix Synapse has been taken offline + +-------------------------------------------------------------------------------- +I have a matrix now! + +@zero:hairydiode.xyz + +For those of you like me who ran nginx in front of synapse, the configuration +given by the synapse documentation is incomplete. For the port 8448 server you +need to include your ssl certificates just like you would for any other https +server. + +For example, if you use letsencrypt, the following is the complete server config +for port 8448: + +server { + listen 8448 ssl default_server; + listen [::]:8448 ssl default_server; + ssl_certificate /etc/letsencrypt/live/[domain]/fullchain.pem; + ssl_certificate_key /etc/letsencrypt/live/[domain]/privkey.pem; + server_name [domain]; + + location / { + proxy_pass http://localhost:8008; + proxy_set_header X-Forwarded-For $remote_addr; + } +} -- cgit v1.1