Today Jul 3, 2012 at 14:12 pgn wrote:
> Sorry, I don't understand your point.
>
> Why is this ok, and fully functional?
> ---------------------------------
> server { server_name test1.loc;
> listen 10.0.0.1:443;
> ...
> server {server_name test2.loc;
> listen 10.0.0.1:443;
> ...
> ---------------------------------
listen directive without additional parameters.
> but this is not?
> ---------------------------------
> server { server_name test1.loc;
> listen [2001:xxx:xxxx:xxx::1]:443 ipv6only=on;
> ...
> server {server_name test2.loc;
> listen [2001:xxx:xxxx:xxx::1]:443 ipv6only=on;
> ...
> ---------------------------------
Additional parameters specified twice.
> In BOTH cases, BOTH server{} are listening on the same address:port,
> differentiated by server_name for vhost redirection.
Additional parameters can be specified only once for the given address:port pair.
--
WNGS-RIPE
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx