summaryrefslogtreecommitdiff
path: root/matrix.html
blob: bd2e3090625b9671d14ae6774dc57f219c3ced5f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<!DOCTYPE html>
<head>
<title>Matrix Homeserver</title>
<meta charset="utf-8"/>
<link rel="stylesheet" href="https://hairydiode.xyz/style.css"/>
<link rel="icon" type="image/png" href="https://hairydiode.xyz/img/fav/logo.png"/>
</head>
<body>
<div class="content">
<pre>
<!--
123456789-223456789-323456789-423456789-523456789-623456789-723456789-8234567890
一二三四
-->--------------------------------------------------------------------------------

<a href="https://hairydiode.xyz">>HairyDiode</a>                                             

--------------------------------------------------------------------------------
<!--
123456789-223456789-323456789-423456789-523456789-623456789-723456789-8234567890
一二三四-->Matrix Homeserver                                                      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;
	}
}
</pre>
</div>
<br>
<br>
</body>
<!-- 
if you're digging in the src you might be interested in how this site works
here: https://hairydiode.xyz/meta2 
-->