apache反向代理配置

配置示例:

 1 <VirtualHost *:80>
 2         ServerAdmin webmaster@localhost
 3         ServerName test.test.com
 4         ServerAlias test.test.com
 5 
 6         ProxyRequests off
 7     <Proxy *>
 8         Order deny,allow
 9         Allow from all
10     </Proxy>
11 
12     <Location />
13         ProxyPass http://127.0.0.1:3000/
14         ProxyPassReverse http://127.0.0.1:3000/
15     </Location>
16 </VirtualHost>