Welcome! Log In Create A New Profile

Advanced

Load balancing a group of IIS, Apache Httpd, and Tomcat servers using only 1 NGINX server

Posted by jlivu 
Hi,

I am planning on deploying a couple of IIS, Tomcat and Apache web servers, each hosting different applications. Is it possible to load balance these servers which have different applications using only 1 NGINX server? The environment would be,
2 IIS servers with identical apps,
2 Tomcat servers with identical apps, and
2 Apache Httpd servers with identical apps.
The applications on the IIS, Tomcat and Apache servers are all different. I am wondering whether there is a way to load balance these servers using only one NGINX server.

I am new to NGINX, and only started reading about and it looks very interesting. If anyone out there can help me out with this, I would be very grateful.

Cheers,
Joe
Re: Load balancing a group of IIS, Apache Httpd, and Tomcat servers using only 1 NGINX server
February 12, 2015 06:33AM
Sure, no problem doing that with 1 nginx server.

---
nginx for Windows http://nginx-win.ecsds.eu/
Hi itpp2012,

Thank you for your post.

Would you by any chance be able to provide detail instructions on how this can be achieved? If not an overview will do.

The setup would consist of,

2 IIS servers - serverA and serverB both hosting the same applications, app1, app 2 and app3
2 Tomcat servers - serverC and serverD both hosting the same applications, app4, app5, and app6
2 Apahce Httpd servers - serverE and serverF both hosting the same applications, app7, app8, and app9.

1 NGINX server to load balance these group of servers (sort of like a web server farm).

If this is possible, I'd like to know a bit of details on how this can be achieved.

Cheers,
Joe
Re: Load balancing a group of IIS, Apache Httpd, and Tomcat servers using only 1 NGINX server
February 13, 2015 05:07AM
See http://nginx.org/en/docs/http/load_balancing.html
just create multiple upstreams and use location to direct what goes where.

---
nginx for Windows http://nginx-win.ecsds.eu/
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 309
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready