Apache ProxyPass 配置

/etc/httpd/conf/httpd.conf


Listen 7002


NameVirtualHost *:7002

 

<VirtualHost *:7002>
    ServerName 192.168.168.231:7002
    ProxyRequests Off
    <Proxy *>
        Order deny,allow
        Allow from all
    </Proxy>
    ProxyPass / http://192.168.168.132:8089/
    ProxyPassReverse / http://192.168.168.132:8089/
</VirtualHost>

你可能感兴趣的:(apache)