尝试向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 ()
我有以下的Apacheconfiguration设置:
<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,因为如果scheme不同,亚音速不能正常工作。