Load balancing in Nginx is configured using upstream directive.[1]
upstream
http { upstream backend { server backend1.example.com weight=3; server backend2.example.com; server 192.0.10.1 backup; } }
Advertising: