diff options
author | Haoran S. Diao <0@hairydiode.xyz> | 2019-03-17 19:52:57 -0400 |
---|---|---|
committer | Haoran S. Diao <0@hairydiode.xyz> | 2019-03-17 19:52:57 -0400 |
commit | 31fceae121644d56ca01a729fbda6666eabbe9b2 (patch) | |
tree | e0b52997418a18da3f552bcc909ca5d3cf9d3d84 /matrix.html | |
parent | 6ae57421dbb9f6d17afeb86c943311ac6d83a4c4 (diff) |
updated mit page, added page on new matrix homeserver
Diffstat (limited to 'matrix.html')
-rw-r--r-- | matrix.html | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/matrix.html b/matrix.html new file mode 100644 index 0000000..f694e0a --- /dev/null +++ b/matrix.html @@ -0,0 +1,56 @@ +<!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 +-------------------------------------------------------------------------------- + +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 +--> |