Closely paired with the
proxy module is the
upstream module. The
upstream directive starts a new context in which a group of upstream servers is defined. These servers may be given different weights (the higher the weight, the greater the number of connections NGINX will pass to that particular upstream server), may be of different types (TCP versus UNIX domain), and may even be marked as
down for maintenance reasons.
The following table summarizes the directives valid within the