Hi.
------ Originalnachricht ------
Von: "Ricky Gutierrez" <[email protected]>
An: [email protected]
Gesendet: 09.12.2017 02:15:42
Betreff: choosing the best scenario for load balancer and nignx reverse
proxy
hi list, I need some tips to build this solution, I currently have
nginx as a proxy reverse and load balancer with http2 and ssl/tls ,
but I still do not like the load balancer part of nginx and I want to
put haproxy to do the job, but I'm not sure if I put in front haproxy
and then nginx as a reverse proxy something like this:
www ----> haproxy (port 80) + nginx (port 8080) + web server (IIS /
Apache / nginx)
haproxy and nginx in the same machine.
What do you think?
I would like to know what you don't like the nginx lb part, just for my
curiosity.
I don't see a benefit to run nginx AND haproxy on the same machine, but
this could be also a philosophical question.
My suggestion is following, *IF* you really want to change the lb.
machine01 machine02
www -> haproxy(80/443) -> nginx + cache -> fcgi/uwsgi/IIS/...
--
rickygm
http://gnuforever.homelinux.com
Regards
Aleks