Hello!

On Fri, Apr 05, 2013 at 06:07:23PM -0400, B.R. wrote:

> Hello,
> 
> @Maxim
> I tried the duplicate configuration entries:
> listen 80;
> listen [::]:80 ipv6only=on;
> 
> I has the following error:
> nginx: [emerg] duplicate listen options for [::]:80 in
> /etc/nginx/conf.d/***.conf:3

If you have multiple virtual server{}s with the same listening 
sockets used, you have to specify listening options in a single listen 
directive only.

That is, add "ipv6only=on" to a listen directive in first/default 
server in your configuration.  This will do the trick.

-- 
Maxim Dounin
http://nginx.org/en/donation.html

_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to