basic nginx setup help as load balancer

Reinis Rozitis r at
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 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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list