0

NGINX supports HTTP/3 since 1.25.0. Node.js currently does not support HTTP/3 or QUIC out-of-the-box but it seems there are some C++ addons implementations, like FAILS'.

HTTP/3 (more specifically, WebTransport) provides some very interesting features, including support for non-ordered streams (WebTransport.datagrams).

I'm interested, could I use these features (e.g. create a WebTransport server) in Node.js, which receives requests from NGINX reverse proxy? I think currently NGINX is able to talk to proxy only via HTTP 1.0 or 1.1.

Maybe there is some kind of indirect approach or maybe some third-party module for NGINX that allows this?

2
  • reverse proxy nginx does only http 1.1 as you already know. http3 will be used till the nginx and it traverse the request into http 1.1 compliant conform one into the backend. the only way I see here is just either if it's a native site use root for it or use a port forwarding to direct access to the application without nginx, but I am unsure if this is the wanted behavior
    – djdomi
    Oct 1 at 9:05
  • Is there an approach that doesn't require circumventing NGINX?
    – Levi Pesin
    Oct 1 at 15:31

1 Answer 1

0

Nightly builds of uWebSockets.js now ship with experimental HTTP/3 support*. npm install uNetworking/uWebSockets.js#binaries

See here for more information

https://unetworkingab.medium.com/h3-meet-node-js-1d952e9bdd74

1
  • Sorry, but this doesn't answer the question how to do this without circumventing NGINX. The fact that it is possible to use HTTP/3 in Node (indirectly) is already presented in the question.
    – Levi Pesin
    Oct 8 at 10:25

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .