首页 > 其他 > 详细

nginx upstream 小理解

时间:2020-04-29 11:55:19      阅读:60      评论:0      收藏:0      [点我收藏+]

upstream defines a cluster that you can proxy requests to. It‘s commonly used for defining either a web server cluster for load balancing, or an app server cluster for routing / load balancing.
可以这么理解吗: upstream对应的是一个集群,

"https://{default}/":
    type: upstream
    upstream: "app:http"

这个地方先这样理解: https:// 这里有个load balance, 集群,
当这个站点有人访问时候, 会分发到集群里的不同机器, 集群的名字为: ‘app:http’

 

nginx upstream 小理解

原文:https://www.cnblogs.com/qinqiu/p/12800747.html

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