矩陣突觸聯合不可能

矩陣突觸聯合不可能

我根據中的描述成功設定了我的家庭伺服器https://linuxhandbook.com/install-matrix-synapse-docker/使用泊塢窗圖像。

我必須稍微改變一下,因為我使用 Apache 作為反向代理。這是我從另一個例子中得出的:

<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>

我檢查了 TLS 證書,它是有效的。但聯邦不行!我用它檢查過https://federationtester.matrix.org/api/report?server_name=matrix.oe8bck.at但我看不出這些錯誤的原因:

"Message": "Get \"https://88.116.94.22:8448/_matrix/key/v2/server\": dial tcp 
88.116.94.22:8448: connect: connection refused"
  "error": "Get \"matrix://matrix.oe8bck.at/_matrix/federation/v1/version\": dial tcp 88.116.94.22:8448: connect: connection refused"

也許有人可以幫助我?

相關內容