how to enable http2 for two server hosted on the same IP

meteor8488 nginx-forum at forum.nginx.org
Thu Jan 4 14:21:21 UTC 2018


Hi All,

If I use 

server {
	listen       443  accept_filter=dataready ssl http2;
	}
server {
	listen  443 http2 sndbuf=512k;
	}

I'll get error
 duplicate listen options for 0.0.0.0:443

I know it's caused by http2 in server 2. But how can I enable http2 on two
servers?

Posted at Nginx Forum: https://forum.nginx.org/read.php?2,277991,277991#msg-277991



More information about the nginx mailing list