On Tue, Feb 14, 2017 at 04:09:10PM +0800, he.hailo...@zte.com.cn wrote: > now I understand the duplicate listen ports configured in the http > block can be used to implement virtual hosts. > > > but what's the purpose to allow this in the stream block? in my > practise (with 1.9.15.1), nginx will randomly select a backend to > serve the tcp/udp request which seems useless.
yes, in stream it does not make sense and was not intented to work. > > > b.t.w, I also tried with 1.11.x today, looks like configuring > duplicate listen ports in stream block is forbidden. correct, this was fixed by this commit: http://hg.nginx.org/nginx/rev/68854ce64ec7 _______________________________________________ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx