nginx apache and port
Markus Jelsma
markus.jelsma at buyways.nl
Wed May 26 21:35:33 MSD 2010
Hi,
If you don't run it as a superuser, Nginx cannot listen on port 80 and therefore not intervene with your Apache. Also, compiling and running as superuser while Nginx is configured to listen at port 80 will not intervene with Apache as long as Apache was already running, only one process can claim a port at the same time.
I suggest you compile from source, deploy the binary and configurations and configure Nginx to run at port 8080, which many people do. Can't be a problem.
Cheers,
-----Original message-----
From: JCR <nginx-forum at nginx.us>
Sent: Wed 26-05-2010 19:27
To: nginx at nginx.org;
Subject: nginx apache and port
Hello,
I have a centos 5 box with apache running fine and listening to port 80. I'd like to try nginx on let's say port 5080 (or maybe there is a better port), without disturbing my apache setup.
(1) If I compile nginx from source and do nothing, will my apache setup be disturbed?
(2) I am thinking that all the work to make sure nginx listens to port 5080 is to be done in the nginx.conf file; is that right?
Thanks
Posted at Nginx Forum: http://forum.nginx.org/read.php?2,90556,90556#msg-90556
_______________________________________________
nginx mailing list
nginx at nginx.org
http://nginx.org/mailman/listinfo/nginx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20100526/fe2c43b3/attachment-0001.html>
More information about the nginx
mailing list