apache 代理配置

apache 2.4.6版本

 

<VirtualHost *:8080>
ServerName 21.12.13.146
DocumentRoot /root/gbhu
ErrorLog /root/gbhu/log/apache2/error_log
CustomLog /root/gbhu/log/apache2/access_log combined

SSLProxyEngine on
proxyPassReverse / https://www.baidu.com
proxyPass / https://www.baidu.com
</VirtualHost>

posted @ 2019-03-27 16:22  Andy.gbhu  阅读(450)  评论(0编辑  收藏  举报