Nginx upstream directive

From wikieduonline
Revision as of 11:14, 29 December 2019 by Welcome (talk | contribs) (Welcome moved page Upstream to Upstream (Nginx))
Jump to navigation Jump to search

Load balancing in Nginx is configured using upstream directive.[1]

http {
    upstream backend {
        server backend1.example.com weight=3;
        server backend2.example.com;
        server 192.0.10.1 backup;
    }
}

Advertising: