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

meteor8488 nginx-forum at
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

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

Posted at Nginx Forum:,277991,277991#msg-277991

More information about the nginx mailing list