Is it possible to specify a range of ports for the servers in upstream? For example, something like: upstream foo { server 10.123.111.100 : 6000 - 7000 weight=1; } Posted at Nginx Forum: http://forum.nginx.org/read.php?2,224297,224297#msg-224297