以下是我的 https 代理虚拟主机配置
<VirtualHost *:443>
ServerAdmin [email protected]
ServerName example.openjuice.co
ProxyRequests off
SSLEngine on
SSLProxyEngine On
SSLCertificateFile /etc/ssl/cert/certs/apache.crt
SSLCertificateKeyFile /etc/ssl/cert/certs/apache.key
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
<Location />
ProxyPass https://localhost:3006/
ProxyPassReverse https://example.openjuice.co:3006/
</Location>
</VirtualHost>
但我得到了以下错误
代理错误
代理服务器从上游服务器接收到无效响应。
代理服务器无法处理请求 GET /。
原因:从远程服务器读取时出错
请帮助我
答案1
它对我有用将以下内容添加到上面的配置中
SSLProxyEngine on
SSLProxyVerify none
SSLProxyCheckPeerCN off
SSLProxyCheckPeerName off
SSLProxyCheckPeerExpire off