反向代理配置

2018-04-08  本文已影响0人  知识分享share

1.httpd.conf
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so

2.httpd-vhosts.conf
<VirtualHost *:80>
ProxyRequests Off

<Proxy *>
  Order deny,allow
  Allow from all
</Proxy>

ProxyPass /project http://ip_address/project

</VirtualHost>

上一篇下一篇

猜你喜欢

热点阅读