-
-
Notifications
You must be signed in to change notification settings - Fork 596
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
[feature] serve admin interface via http2 #784
Comments
Hello, Centrifugo already supports HTTP/2 out of the box. You need to configure TLS to make it work. For example, with mkcert tool:
Run Centrifugo with TLS:
Note, Then check API response:
You will see HTTP/2 headers:
Then check admin UI: See also: https://centrifugal.dev/docs/faq#does-centrifugo-work-with-http2 Having said this all, I don't see the problem with HTTP 1.1, I doubt about significant practical benefits here. So supporting H2C should be justified by a practical reason. |
It’s not about a benefit, but rather a limitation I had and wanted to avoid putting it behind proxy. |
Could you please explain what kind of limitation? Does the above description solves it for you? |
@FZambia The description above is for serving TLS, it doesn't cover H2C. The limitation is technical and I don't have a reasonable justification, so I'll leave this as 'nice to have'. |
Is your feature request related to a problem? Please describe.
Admin interface (and api in general) is currently served via HTTP1.1.
Describe the solution you'd like.
It would be nice to have api serve HTTP2 as well (as H2C). (I've seen that you already optionally support QUIC/HTTP3, so H2C/HTTP2 would be even simpler as it's just a wrapper over mux.
...
The text was updated successfully, but these errors were encountered: