In our project, we want to use HAproxy as a Load balancer which is done on a VM, and Nginx is used as a server. Is it possible to do? or is it necessary that we use one Nginx for the load balancer and another one as a server?
Asked
Active
Viewed 393 times
1 Answers
2
Yes, HAProxy only need an address:port
So you can forward to an NGinx that will expose your app
Or forward directly to applications port
Both will work.
HAProxy
| |
| |
NGinx NGinx
| |
| |
App App
HAProxy
| |
| |
App App

J-Jacques M
- 978
- 6
- 16