startup error -> "[emerg] duplicate listen options" if 2nd IPv6 listener is enabled

Oleksandr V. Typlyns'kyi wangsamp at gmail.com
Tue Jul 3 19:23:51 UTC 2012


Today Jul 3, 2012 at 15:04 pgn wrote:

> Done.
> 
> Reading the docs, it's not clear to me -- or others apparently:
> 
> 	http://kromey.us/2011/06/named-based-virtual-hosts-with-nginx-on-ipv6-423.html
> 	http://serverfault.com/questions/277653/nginx-name-based-virtual-hosts-on-ipv6
> 
> -- that ipv6only=on can only be specified once ...
> 
> While some 'additional parameters' on the listen line are restricted in
> this manner, others -- e.g., ssl, spdy -- are not, and can appear
> multiple times.

  You should read docs more careful.
  http://nginx.org/en/docs/http/ngx_http_core_module.html#listen
  ssl this parameter (0.7.14) does not relate to system calls listen() and bind(), 
  but allows to specify that all connections accepted on this port should work in the SSL mode.

-- 
WNGS-RIPE



More information about the nginx mailing list