From 31fceae121644d56ca01a729fbda6666eabbe9b2 Mon Sep 17 00:00:00 2001 From: "Haoran S. Diao" <0@hairydiode.xyz> Date: Sun, 17 Mar 2019 19:52:57 -0400 Subject: updated mit page, added page on new matrix homeserver --- cont/index.html | 2 ++ cont/matrix.html | 31 +++++++++++++++++++++++++++++++ cont/mit.html | 4 +++- index.html | 5 ++++- matrix.html | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ mit.html | 4 +++- 6 files changed, 99 insertions(+), 3 deletions(-) create mode 100644 cont/matrix.html create mode 100644 matrix.html diff --git a/cont/index.html b/cont/index.html index 935e4b0..4d5d375 100644 --- a/cont/index.html +++ b/cont/index.html @@ -21,6 +21,8 @@ How do I tell you your site is ugly? Email:0@hairydiode.xyz Public Key Phone:(Two Four Oh)-938-1333 + Matrix:@zero:hairydiode.xyz + Where's all the other stuff you host from this domain? My Git Repos My Mastodon Instance diff --git a/cont/matrix.html b/cont/matrix.html new file mode 100644 index 0000000..1b8f304 --- /dev/null +++ b/cont/matrix.html @@ -0,0 +1,31 @@ +[TITLE] [DATE] +-------------------------------------------------------------------------------- +[SETTITLE]Matrix Homeserver +[SETDATE]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; + } +} diff --git a/cont/mit.html b/cont/mit.html index c2dc1c4..a737471 100644 --- a/cont/mit.html +++ b/cont/mit.html @@ -3,7 +3,7 @@ 一二三四-->[TITLE] [DATE] -------------------------------------------------------------------------------- [SETTITLE]MIT Decisions Countdown Clock -[SETDATE]3-09-2018 +[SETDATE]3-09-2019 Can't wait for that rejection. Screenshot of the script @@ -11,3 +11,5 @@ Can't wait for that rejection. Yeah I know you're not supposed to abuse "date" like that but it's a fun toy script. + +UPDATE: yeah I got the fat rejection. UC Hicago too. diff --git a/index.html b/index.html index 31f7d82..54a7c97 100644 --- a/index.html +++ b/index.html @@ -39,12 +39,15 @@ How do I tell you your site is ugly? Email:0@hairydiode.xyz Public Key Phone:(Two Four Oh)-938-1333 + Matrix:@zero:hairydiode.xyz + Where's all the other stuff you host from this domain? My Git Repos My Mastodon Instance Where's all the content? Scroll Down -[MIT Decisions Countdown Clock] 3-09-2018 +[Matrix Homeserver] 3-17-2019 +[MIT Decisions Countdown Clock] 3-09-2019 [PGP Public Key] 6-26-2018 [Control Systems Club Web Controlled Servo Instructions] 1-24-2019 [Control Systems Club Project Workflow] 1-24-2019 diff --git a/matrix.html b/matrix.html new file mode 100644 index 0000000..f694e0a --- /dev/null +++ b/matrix.html @@ -0,0 +1,56 @@ + + +Matrix Homeserver + + + + + +
+
+--------------------------------------------------------------------------------
+
+>HairyDiode                                             
+
+--------------------------------------------------------------------------------
+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;
+	}
+}
+
+
+
+
+ + diff --git a/mit.html b/mit.html index 273c8c3..739f697 100644 --- a/mit.html +++ b/mit.html @@ -18,7 +18,7 @@ -------------------------------------------------------------------------------- MIT Decisions Countdown Clock 3-09-2018 +一二三四-->MIT Decisions Countdown Clock 3-09-2019 -------------------------------------------------------------------------------- Can't wait for that rejection. @@ -27,6 +27,8 @@ Can't wait for that rejection. Yeah I know you're not supposed to abuse "date" like that but it's a fun toy script. + +UPDATE: yeah I got the fat rejection. UC Hicago too.
-- cgit v1.1