首页 > 其他 > 详细

nginx安装部署

时间:2018-10-21 19:17:27      阅读:105      评论:0      收藏:0      [点我收藏+]

地址分享: https://www.cnblogs.com/taiyonghai/p/6728707.html

   # nginx.conf配置 
  upstream testreport { least_conn
; server 192.168.245.130:8080; #server 192.168.245.130:8081; } server { listen 8000; server_name test.com; location /hello { proxy_pass http://testreport; } }

浏览器访问 http://test.com:8000/hello/ ,就可以打开想要的页面

nginx安装部署

原文:https://www.cnblogs.com/andrew209/p/9826147.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!