How to run multiple Nginx instances on different port...
Posted
by
Edvinas
on Server Fault
See other posts from Server Fault
or by Edvinas
Published on 2011-03-03T11:23:12Z
Indexed on
2011/03/03
15:26 UTC
Read the original article
Hit count: 249
nginx
Hi,
I would like to have several Nginx instances running on my server on separate ports (for example one user runs Nginx on port 2345, and another user on port 2346). So far, I have been successful in compiling and running the server on their designated ports. However, I am running into a weird issue: If i visit domain1.com:2345 or domain2.com:2346 I get the correct (200) response but if I visit domain1.com or domain2.com (without specifying the port) I get no response at all.
Any help/clues in figuring out how to set this up would be highly appreciated.
© Server Fault or respective owner