码迷,mamicode.com
首页 > 其他好文 > 详细

nginx安装部署

时间:2018-10-21 19:41:55      阅读:182      评论:0      收藏:0      [点我收藏+]

标签:浏览器   ref   部署   www.   color   打开   server   conf   nbsp   

地址分享: 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安装部署

标签:浏览器   ref   部署   www.   color   打开   server   conf   nbsp   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!