websockify-nginx-module icon indicating copy to clipboard operation
websockify-nginx-module copied to clipboard

can not work with http2 ssl enabled!

Open calvin2021y opened this issue 4 years ago • 3 comments

return 502 Bad Gateway, remove http2 from nginx listen work.

calvin2021y avatar Jul 07 '21 13:07 calvin2021y

I am sure ssl is fine but seems conflict with http2

tg123 avatar Jul 08 '21 03:07 tg123

anther question is why do you want websock over http2?

tg123 avatar Jul 08 '21 03:07 tg123

I try avoid use websock over http2, but nginx is not able to disable http2 for one vhost, so you have to disable all vhosts http2 or you don't get to use websockify_pass.

If nginx server http2 enabled, the client send http 1.1 request still get this error. disable http2 for all vhosts fix the problem. (then all your site has slow http 1.1).

calvin2021y avatar Jul 08 '21 04:07 calvin2021y