端口转发示例代码:

<VirtualHost *:80>
ServerName www.xx.cn
ProxyPass / http://abc.com:8100/ (这里就是你要转发到的地址)
ProxyPassReverse / http://abc.com:8100/ (指令用于处理重定向时的转发)
</VirtualHost>

参考:https://blog.csdn.net/tmpbook/article/details/44840053

Related Posts: Apache 端口转发 :

avatar