RE: duplicate ports across servers in nginx.conf

2023-05-30 Thread Yuval Abadi via nginx
Hi Thanks for the response. The link explains the problem, I think we could do better work for users. If the configuration has 2 servers sharing the same name and the same port I got this warning: "nginx: [warn] conflicting server name "http://www.mut.com/"; on 0.0.0.0:80, ignored" Why not bloc

Re: duplicate ports across servers in nginx.conf

2023-05-30 Thread Francis Daly
On Tue, May 30, 2023 at 06:50:19AM +, Yuval Abadi via nginx wrote: Hi there, > When I have 2 servers in nginx.conf with same listen port if the server > have name, nginx issue warning ignore … but nit failed to load. > What happens is only the first server in conf binds the socket. > A