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

2018-01-04 Thread meteor8488
Thanks for reply. Server 1 is for php and server 2 is for static files. I want to enable sndbuf on server 2. Then how can I do that? Posted at Nginx Forum: https://forum.nginx.org/read.php?2,277991,278023#msg-278023 ___ nginx mailing list nginx@nginx.

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

2018-01-04 Thread A. Schulze
meteor8488: 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. probably you're wrong. T

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

2018-01-04 Thread meteor8488
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