multiple nginx

Steve Holdoway steve at greengecko.co.nz
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 nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
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
script.

You cannot share port/ip address pairs though.

hth,

Steve

-- 
Steve Holdoway BSc(Hons) MIITP
http://www.greengecko.co.nz
Linkedin: http://www.linkedin.com/in/steveholdoway
Skype: sholdowa



More information about the nginx mailing list