简单的Nginx负载均衡配置①-超详细配置高性能Nginx_Web服务器

时间:2021-04-22 19:44:55
【文件属性】:
文件名称:简单的Nginx负载均衡配置①-超详细配置高性能Nginx_Web服务器
文件大小:2.25MB
文件格式:PPT
更新时间:2021-04-22 19:44:55
Nginx 简单的Nginx负载均衡配置① …… upstream bbs_server_pool { server 192.168.1.15:80 weight=1 max_fails=2 fail_timeout=30s; server 192.168.1.16:80 weight=1 max_fails=2 fail_timeout=30s; server 192.168.1.17:80 weight=1 max_fails=2 fail_timeout=30s; server 192.168.1.18:80 weight=1 max_fails=2 fail_timeout=30s; } …… 在nginx.conf配置文件中,用upstream指令定义一组反向代理/负载均衡后端服务器池。

网友评论