【发布时间】:2016-12-02 17:48:47
【问题描述】:
我配置了我的 apache,以便它可以将我的请求转发到 google.com 等外部 URL,但反向代理不起作用。
<VirtualHost *:443>
ServerName authtest.com
ProxyRequests Off
ProxyPreserveHost On
<Proxy *>
Order allow,deny
Allow from All
</Proxy>
<LocationMatch "/google">
ProxyPass https://www.google.com/
ProxyPassReverse https://www.google.com/
</LocationMatch>
</VirtualHost>
我可以反向代理外部网站吗?
【问题讨论】:
标签: apache reverse-proxy