bux*_*bux 13 mod-proxy apache-2.2
我正在尝试启用代理虚拟主机:
<VirtualHost *:80>
ServerName xxxxx.domain.tdl
SSLProxyEngine On
SSLProxyCheckPeerCN on
ProxyPass / https://localhost:1234
ProxyPassReverse / https://localhost:1234
</VirtualHost>
Run Code Online (Sandbox Code Playgroud)
但我有一个 500 错误和我的 error.log (apache2) 显示:
[Tue Jan 03 15:41:42 2012] [error] (502)Unknown error 502: proxy: pass request body failed to [::1]:1234 (localhost)
[2012 年 1 月 3 日星期二 15:41:42] [错误] 代理:从 82.252.xxx.xx () 向 [::1]:1234 (localhost) 传递请求正文失败
缺少一些参数?
ProxyPass / https://localhost:1234/
ProxyPassReverse / https://localhost:1234/
Run Code Online (Sandbox Code Playgroud)
试试这个吧。斜杠匹配很重要。