Server Type
Reverse Proxy
Forward requests to a backend app (e.g. Node, Python)
Static Server
Serve frontend files (React, Vue, HTML)
Load Balancer
Distribute traffic across multiple backends
The NGINX Load Balancer Generator configures robust upstream pools for horizontal scaling. It automatically generates round-robin or least-connected algorithms to distribute high-volume traffic across multiple backend nodes.
Distributes traffic across multiple containers seamlessly.
Automatically removes failing backend nodes from the pool.
Define Upstream Pool - List the IP addresses or Docker DNS names of your backend servers.
Select Algorithm - Choose Round Robin, IP Hash, or Least Connections.
Generate Config - Export the highly-available load balancing configuration.
Upstream blocks define a pool of servers that NGINX treats as a single logical destination.
Round Robin (Stateless)
IP Hash (For session persistence)
1 (Too aggressive)
3 (Prevents false positives)
Here is a real generated snippet matching the production best practices above:
upstream backend_pool {
ip_hash;
server backend1.internal:3000 max_fails=3 fail_timeout=30s;
server backend2.internal:3000 max_fails=3 fail_timeout=30s;
server backend3.internal:3000 max_fails=3 fail_timeout=30s;
}
server {
listen 80;
server_name app.example.com;
location / {
proxy_pass http://backend_pool;
}
}Technical troubleshooting and advanced configuration insights for your infrastructure.
Scroll back up to the generator and export your production-ready configuration in seconds.
Start Building