只需要在nginx.conf下复制server服务的代码修改端口号就可以了我这里修改的8081端口
nginx下同时做负载均衡和web服务
原文:http://www.cnblogs.com/935415150wang/p/6930232.html