The ngx_http_upstream_order_module simplely attempt to access upstreams according to the order of apearance in upstream conf. If one host have multi ips, they will be accssed according to the order in resolved data structure.
upstream backend {
server server1;
server server2;
order;
}
- syntax: order
- default: --
- context: upstream
Enables upstream order.
This module is compatible with following nginx releases:
- 1.2.7
FengGu [email protected]