Combined Upstreams#

The module allows combining multiple server groups into one.

It introduces the add_upstream, combine_server_singlets, and extend_single_peers directives available within upstream configuration blocks, as well as a new upstrand configuration block for creating higher-level upstream blocks. In addition, it introduces the dynamic_upstrand directive for selecting upstream blocks at runtime.

Installation#

To install the module, use one of the following packages:

  • Angie: angie-module-combined-upstreams

  • Angie PRO: angie-pro-module-combined-upstreams

Loading the module#

To use the module, load it in the main{} context:

load_module modules/ngx_http_combined_upstreams_module.so;

Additional information#

Detailed documentation and source code are available at: lyokha/nginx-combined-upstreams-module

Configuration examples and a detailed breakdown of the module directives: