multiple nginx

Steve Holdoway steve at
Sun Aug 18 20:28:14 UTC 2013

On Sun, 2013-08-18 at 16:08 +0800, Edwin Lee wrote:
> Hi,
> Is is alright to have two installations of nginx on the same machine?
> I have a running instance of nginx with php installed from distribution package manager.
> Instead of writing another config, I would like to compile and install nginx from source code and run as second instance.
> The second instance is to optimize for load balancing, reverse proxy, cache and modsecurity.
> My concerns is would this break the system on debian squeeze?
> Thanks for answering.
> Edwin Lee
> _______________________________________________
> nginx mailing list
> nginx at
Yes, it's perfectly ok to do so. Make sure you're installing into a
separate location ( eg /usr/local ), and you'll need a separate startup

You cannot share port/ip address pairs though.



Steve Holdoway BSc(Hons) MIITP
Skype: sholdowa

More information about the nginx mailing list