nginx实现tomcat转发

1、安装nginx;

2、修改conf 下面的nginx.conf 文件

配置反向代理端口

3、启动Nginx

./nginx

4、如果失败尝试将先前启动的 NGINX关闭

netstat -anp|grep nginx

kill -9  id

再重启

原文地址:https://www.cnblogs.com/goodboy321/p/9950014.html