反向代理配置

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

2.httpd-vhosts.conf

ProxyRequests Off


  Order deny,allow
  Allow from all


ProxyPass /project http://ip_address/project

你可能感兴趣的:(反向代理配置)