我已經在機器#0(Ubuntu 16.04.5,本機)上安裝了Transmission 守護進程,並在機器#1(Ubuntu 16.04.5,在XCP-NG 75 上)上安裝了Apache2(Apache/2.4.18 )。 Apache現在正在反向代理傳輸,採用TLS來傳輸rpc。
無論我在哪裡透過 apache 連接到傳輸,它都會持續返回「連線由對等方重置」幾分鐘。
我可以確定這不是網路問題,因為從我的 PC 到機器 #1 以及機器 #1 到機器 #0 的 SSH 連接都保持穩定。
這是傳輸vHost的配置。
<IfModule mod_ssl.c>
<VirtualHost *:443>
SSLEngine on
SSLCertificateFile [A Certificate File]
SSLCertificateKeyFile [A Certificate Key File]
SSLCertificateChainFile [A Certificate Chain File]
ServerName [Hostname]
ProxyRequests Off
ProxyPass / http://[Address to machine #0]:9091/
ProxyPassReverse / http://[Address to machine #0]:9091/
<Location "/">
AuthType Basic
AuthName "Transmission"
AuthUserFile [Authentication File]
Require valid-user
</Location>
</VirtualHost>
</IfModule>
是什麼造成了這種問題呢?我應該如何解決它?