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’