摘要:
七层代理和三层代理的配置文件结构 http { #ngx_http_core_module模块 upstream httpdsrvs { server 192.168.80.120 weight=3 ; } server { listen 80; server_name www.magedu.net 阅读全文
摘要:
ngx_http_upstream_module模块: 将多个服务器定义成服务器组,而由proxy_pass, fastcgi_pass等指令进行引用 upstream name { ... } 定义后端服务器组,会引入一个新的上下文 Context: http upstream httpdsrvs 阅读全文