summary refs log tree commit diff
path: root/hosts/vps
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/vps')
-rw-r--r--hosts/vps/services/matrix.nix9
-rw-r--r--hosts/vps/services/website.nix6
2 files changed, 11 insertions, 4 deletions
diff --git a/hosts/vps/services/matrix.nix b/hosts/vps/services/matrix.nix
index a3be7a2..a56b489 100644
--- a/hosts/vps/services/matrix.nix
+++ b/hosts/vps/services/matrix.nix
@@ -136,10 +136,11 @@
       '';
       # for clients
       virtualHosts."tzlil.net".extraConfig = ''
-        reverse_proxy /_matrix/* localhost:8008
-        header /.well-known/matrix/* Content-Type application/json
-        header /.well-known/matrix/* Access-Control-Allow-Origin *
-        respond /.well-known/matrix/server `{"m.server": "tzlil.net"}`
+               reverse_proxy /_matrix/* localhost:8008
+               header /.well-known/matrix/* Content-Type application/json
+               header /.well-known/matrix/* Access-Control-Allow-Origin *
+               respond /.well-known/matrix/server `{"m.server": "tzlil.net"}`
+        respond /.well-known/matrix/client `{"m.homeserver": {"base_url": "https://tzlil.net"}}`
       '';
     };
     networking.firewall.allowedTCPPorts = [8448];
diff --git a/hosts/vps/services/website.nix b/hosts/vps/services/website.nix
index 95dea73..1cdd33e 100644
--- a/hosts/vps/services/website.nix
+++ b/hosts/vps/services/website.nix
@@ -48,6 +48,10 @@
                  a { color: #7878ff; }
                  a:visited { color: #6464fa; }
              }
+	     .mail:before {
+	       content: attr(b) "\0040" attr(a);
+	       unicode-bidi: bidi-override;
+	       direction: rtl;
              </style>
              <pre>
             ~?~+=I?~~IIIII++,:   .?= .,I=O8OZ.DNNO, ZD7:::=.? ,,:,,I,,:,~+?II?I?II?=+=~+7$ZO
@@ -75,6 +79,8 @@
             <a href="https://fm.tzlil.net">fm.tzlil.net</a> music
             <a href="https://git.tzlil.net">git.tzlil.net</a> code
             <a href="/arXiv">arXiv randomizer</a>
+	    matrix @tzlil:tzlil.net
+	    email tzlils protonmail com
             </pre>
           ''} /
             file_server