Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can not work with http2 ssl enabled! #24

Open
calvin2021y opened this issue Jul 7, 2021 · 3 comments
Open

can not work with http2 ssl enabled! #24

calvin2021y opened this issue Jul 7, 2021 · 3 comments

Comments

@calvin2021y
Copy link

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

@tg123
Copy link
Owner

tg123 commented Jul 8, 2021

I am sure ssl is fine
but seems conflict with http2

@tg123
Copy link
Owner

tg123 commented Jul 8, 2021

anther question is why do you want websock over http2?

@calvin2021y
Copy link
Author

calvin2021y commented Jul 8, 2021

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants