编辑nginx.conf文件,在http/server/location层次结构下,添加proxy_pass http://localhost:8080;
2.重新启动nginx
从其他机器访问http://192.168.128.128/,验证连通性
2.重新启动nginx
从其他机器访问http://192.168.128.128/,验证连通性
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/31464246/viewspace-2140266/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/31464246/viewspace-2140266/