尝试代理 SSL 后端服务器时出现以下错误:
[Thu Jan 03 14:44:26 2013] [error] (502)Unknown error 502: proxy: pass request body failed to 192.168.1.10:8443 (192.168.1.10) [Thu Jan 03 14:44:26 2013] [error] [client 192.168.1.103] proxy: Error during SSL Handshake with remote server returned by /subsonic/ [Thu Jan 03 14:44:26 2013] [error] proxy: pass request body failed to 192.168.1.10:8443 (192.168.1.10) from 192.168.1.103 ()
我有以下 apache 配置设置:
<VirtualHost *:443>
ServerName home.zombor.net
DocumentRoot "/media/Drobo02/www/home.zombor.net/"
SSLEngine on
SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
SSLCertificateFile /etc/ssl/apache2/home.zombor.net.crt
SSLCertificateKeyFile /etc/ssl/apache2/home.zombor.net.key
SSLProxyEngine on
SSLVerifyClient None
<Directory "/media/Drobo02/www/home.zombor.net/">
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
<IfModule mpm_peruser_module>
ServerEnvironment apache apache
</IfModule>
# Proxy subsonic
ProxyRequests Off
ProxyPreserveHost Off
<Proxy *>
Options FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
Allow from all
</Proxy>
ProxyPass /subsonic https://192.168.1.10:8443/subsonic
ProxyPassReverse /subsonic https://192.168.1.10:8443/subsonic
我也尝试使用localhost
后端服务器,但出现同样的错误。当我代理到非 SSL 后端时,它工作正常,但我需要它是 SSL,因为如果方案不同,Subsonic 将无法正常工作。