From: nutra-bot Date: Thu, 11 Sep 2025 19:47:55 +0000 (+0000) Subject: add matrix favicon for nginx; fix public_baseurl X-Git-Url: https://git.nutra.tk/v1?a=commitdiff_plain;h=a1c1aed382725a9881c6b5256b79ab05f39c04a6;p=nutratech%2Fvps-root.git add matrix favicon for nginx; fix public_baseurl --- diff --git a/etc/matrix-synapse/conf.d/report_stats.yaml b/etc/matrix-synapse/conf.d/report_stats.yaml new file mode 100644 index 0000000..cd3d988 --- /dev/null +++ b/etc/matrix-synapse/conf.d/report_stats.yaml @@ -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 index 0000000..06460a2 --- /dev/null +++ b/etc/matrix-synapse/conf.d/server_name.yaml @@ -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 diff --git a/etc/nginx/conf.d/default.conf b/etc/nginx/conf.d/default.conf index aaccca5..a6ea14e 100644 --- a/etc/nginx/conf.d/default.conf +++ b/etc/nginx/conf.d/default.conf @@ -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