startup error -> "[emerg] duplicate listen options" if 2nd IPv6 listener is enabled
Oleksandr V. Typlyns'kyi
wangsamp at gmail.com
Tue Jul 3 18:02:23 UTC 2012
Today Jul 3, 2012 at 13:39 pgn wrote:
> But, if for site 2) I enable the IPv6 listener,
>
> - # listen [2001:xxx:xxxx:xxx::1]:443 ipv6only=on;
> + listen [2001:xxx:xxxx:xxx::1]:443 ipv6only=on;
>
>
> Now, @ nginx start,
>
> service nginx start
> Starting nginx nginx: [emerg] duplicate listen options for
> [2001:xxx:xxxx:xxx::1]:443 in
> /usr/local/etc/nginx/sites-enabled/test2.loc.conf:21
> startproc: exit status of parent of /usr/local/sbin/nginx: 1
>
> failed
> Is this a bug, feature or config problem?
http://nginx.org/en/docs/http/ngx_http_core_module.html#listen
A listen directive can have several additional parameters specific to
system calls listen() and bind(). They can be specified in any listen
directive, but only once for the given address:port pair.
--
WNGS-RIPE
More information about the nginx
mailing list