Introduction
When you want to send user requests to multiple servers to share the work, you use upstream blocks in nginx. They help balance traffic so no single server gets too busy.
When you have a website running on several servers and want nginx to send visitors to any of them.
When you want to improve your website speed by spreading requests across multiple backend servers.
When you want to keep your site working even if one server stops responding.
When you want to test a new server by sending some traffic to it without changing your main site.
When you want to organize your backend servers under one name for easier management.