我正在尝试配置一个简单的反向代理,但找不到页面(404)。
这是我的虚拟主机
<IfModule mod_ssl.c>
<VirtualHost _default_:443>
...
ProxyRequests Off
ProxyPreserveHost On
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
SSLProxyEngine on
SSLProxyVerify none
SSLProxyCheckPeerCN off
SSLProxyCheckPeerName off
SSLProxyCheckPeerExpire off
ProxyPass /consumo/hierba https://server-target.com/hierba-buena
ProxyPassReverse /consumo/hierba https://server-target.com/hierba-buena
</VirtualHost>
</IfModule>
https://server-target.com/hierba-buena是bluehost,我的服务器是来自AWS的EC2
感谢您的回答。