Mi-am configurat cu succes serverul de acasă pe baza descrierii disponibile în https://linuxhandbook.com/install-matrix-synapse-docker/ folosind o imagine docker.
A trebuit să-l schimb puțin, deoarece folosesc Apache ca proxy invers. Am făcut asta dintr-un alt exemplu:
<VirtualHost *:443>
SSLEngine on
ServerName matrix.oe8bck.at
Include /etc/letsencrypt/options-ssl-apache.conf
SSLCertificateFile /etc/letsencrypt/live/...
SSLCertificateKeyFile /etc/letsencrypt/live/...
RequestHeader set "X-Forwarded-Proto" expr=%{REQUEST_SCHEME}
AllowEncodedSlashes NoDecode
ProxyPreserveHost on
ProxyPass /_matrix http://127.0.0.1:8008/_matrix nocanon
ProxyPassReverse /_matrix http://127.0.0.1:8008/_matrix
ProxyPass /_synapse/client http://127.0.0.1:8008/_synapse/client nocanon
ProxyPassReverse /_synapse/client http://127.0.0.1:8008/_synapse/client
<IfModule security2_module>
SecRuleEngine off
</IfModule>
</VirtualHost>
<VirtualHost *:8448>
SSLEngine on
ServerName oe8bck.at
Include /etc/letsencrypt/options-ssl-apache.conf
SSLCertificateFile /etc/letsencrypt/live/...
SSLCertificateKeyFile /etc/letsencrypt/live/...
RequestHeader set "X-Forwarded-Proto"expr=%{REQUEST_SCHEME}
AllowEncodedSlashes NoDecode
ProxyPass /_matrix http://127.0.0.1:8008/_matrix nocanon
ProxyPassReverse /_matrix http://127.0.0.1:8008/_matrix
<IfModule security2_module>
SecRuleEngine off
</IfModule>
</VirtualHost>
Am verificat certificatul TLS, este valabil. Dar federația nu funcționează! L-am verificat cu https://federationtester.matrix.org/api/report?server_name=matrix.oe8bck.at dar nu văd motivul acestor erori:
„Mesaj”: „Obțineți \”https://88.116.94.22:8448/_matrix/key/v2/server\”: formați tcp
88.116.94.22:8448: conectare: conexiune refuzată"
"error": "Obțineți \"matrix://matrix.oe8bck.at/_matrix/federation/v1/version\": formați tcp 88.116.94.22:8448: conectare: conexiune refuzată"
Poate ma poate ajuta cineva?