]> Nutra Git (v1) - nutratech/vps-root.git/commitdiff
add matrix favicon for nginx; fix public_baseurl
authornutra-bot <nutradigest@gmail.com>
Thu, 11 Sep 2025 19:47:55 +0000 (19:47 +0000)
committernutra-bot <nutradigest@gmail.com>
Thu, 11 Sep 2025 19:47:55 +0000 (19:47 +0000)
etc/matrix-synapse/conf.d/report_stats.yaml [new file with mode: 0644]
etc/matrix-synapse/conf.d/server_name.yaml [new file with mode: 0644]
etc/nginx/conf.d/default.conf

diff --git a/etc/matrix-synapse/conf.d/report_stats.yaml b/etc/matrix-synapse/conf.d/report_stats.yaml
new file mode 100644 (file)
index 0000000..cd3d988
--- /dev/null
@@ -0,0 +1,5 @@
+# This file is autogenerated, and will be recreated on upgrade if it is deleted.
+# Any changes you make will be preserved.
+
+# Whether to report homeserver usage statistics.
+report_stats: false
diff --git a/etc/matrix-synapse/conf.d/server_name.yaml b/etc/matrix-synapse/conf.d/server_name.yaml
new file mode 100644 (file)
index 0000000..06460a2
--- /dev/null
@@ -0,0 +1,11 @@
+# This file is autogenerated, and will be recreated on upgrade if it is deleted.
+# Any changes you make will be preserved.
+
+# The domain name of the server, with optional explicit port.
+# This is used by remote servers to connect to this server,
+# e.g. matrix.org, localhost:8080, etc.
+# This is also the last part of your UserID.
+#
+server_name: dev.nutra.tk
+public_baseurl: https://matrix.nutra.tk
+idp_icon: mxc://dev.nutra.tk/kigyXIXVaLjxJWworavyADhV
index aaccca5051dba21d9125f9b7ddcc6fe6df4829ac..a6ea14e8de4c403d1bc87e64f0cd9b172659a40c 100644 (file)
@@ -208,6 +208,10 @@ server {
     proxy_pass http://127.0.0.1:8008;
     proxy_set_header X-Forwarded-For $remote_addr;
   }
+
+  location /favicon.ico {
+    alias /var/www/favicon.gif;
+  }
 }
 
 # Open matrix chat on 8448