basic nginx setup help as load balancer

Reinis Rozitis r at roze.lv
Wed Jul 6 11:02:24 UTC 2016


> I'm new to servers and proxies, 
> But don't you think running both nginx and Apache on port 80 of same machine will cause one of those to fail to start.
> In my opinion backend should be on different IP:port combination.
> Please correct me if I'm wrong.

It is correct (though you can work arround it by backend (apache) listening only on 127.0.0.1 interface and nginx as frontend on the real ip).

But to me the initial posters configuration excerpt looked like having just generic comments not representing the actual case.

rr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20160706/24fdb93b/attachment.html>


More information about the nginx mailing list