2018年6月7日

nginx配置-之负载均衡

摘要: round-robin 轮询方式,即轮流调度,默认方式least-connected 最小连接ip-hash IP hash,基于客户端的IP来选择服务器,一般用在保持会话的场景例1:基本配置http { upstream myapp1 { server srv1.example.com; serv... 阅读全文

posted @ 2018-06-07 22:20 aishangwei 阅读(113) 评论(0) 推荐(0)

导航