@king-
2016-01-21T14:41:38.000000Z
字数 479
阅读 1246
服务器
打开模块
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so
<VirtualHost *:8080>
DocumentRoot "D:/phpStudy/WWW/repair"
ServerAlias repair.quanchepei.co
ProxyRequests Off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass /api http://112.124.52.14:8080/api
ProxyPassReverse /api http://112.124.52.14:8080/api
</VirtualHost>
备注:需要保证远程的服务器地址端口与本地的服务器端口一致。