Combined Upstreams#
该模块允许将多个服务器组组合为一个。
它引入了 要 安装 该模块,请使用以下软件包之一: Angie: Angie PRO: 要使用该模块,请在 详细文档和源代码可在以下位置获取:
lyokha/nginx-combined-upstreams-module 模块指令的配置示例与详细说明:add_upstream、combine_server_singlets 和
extend_single_peers 指令,这些指令可在 upstream 配置块内使用;
同时新增 upstrand 配置块,用于创建更高层级的 upstream 块。
此外,引入 dynamic_upstrand 指令,用于在运行时选择 upstream 块。安装#
angie-module-combined-upstreamsangie-pro-module-combined-upstreams加载模块#
main{} 上下文中加载它:load_module modules/ngx_http_combined_upstreams_module.so;
其他信息#