tus / tusd

Reference server implementation in Go of tus: the open protocol for resumable file uploads
https://tus.github.io/tusd
MIT License
3.03k stars 472 forks source link

Proxy for HTTP/3? #1168

Open Wintermute68k opened 1 month ago

Wintermute68k commented 1 month ago

Question tusd documentation states:

HTTP/3 and QUIC is currently not supported without the use of an external proxy.

Is that the same as a reverse proxy mentioned further down? Has there been any experience using LiteSpeed as a proxy for tusd, or would Nginx be a better choice? Is the example Nginx configuration (tusd/examples/nginx.conf) suitable for Nginx configurations with HTTP/3?

Would you be able to suggest and describe in high level terms what the complete solution would look like if it were restricted to only HTTP/3 uploads (for network congestion relief reasons)?

Acconut commented 1 month ago

Is that the same as a reverse proxy mentioned further down?

Yes, that's what is meant.

Has there been any experience using LiteSpeed as a proxy for tusd, or would Nginx be a better choice?

I haven't experimented with H3 at all, so I'm afraid I can not help you much with those questions. But in general, the reverse proxy should accept the H3 requests and forward them as HTTP/1.1 or H2 to tusd. As said, I didn't try this yet, but I doubt the configuration would be complicated in the proxy.