Apache80指向tomcat8080

来源:互联网 发布:做代码的软件 编辑:程序博客网 时间:2024/06/05 06:42

httpd-vhosts文件中加入:

<VirtualHost *:80>
        ServerName www.xxx.cn
        ServerAlias www.xxx.cn xxx.cn
        ProxyPass / http://www.xxx.cn:8080/
        ProxyPassReverse / http://www.xxx.cn:8000/
        ErrorLog logs/osgogo.com-error_log
        CustomLog logs/osgogo.com-access_log common
</VirtualHost>


1 0
原创粉丝点击