mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 22:43:42 +00:00
nginx sets the value of the `$http_host` variable to the empty string when using http/3, as there is technically no `Host:` header sent: https://github.com/nginx-quic/nginx-quic/issues/3 Users with a browser that support http/3 will send their first request to nginx with http/2, and get an expected HTTP 200 -- but any subsequent requests will fail with am HTTP 400, since the browser will have upgraded to http/3, which has an empty `Host` header, which Zulip rejects. Switch to the `$host` variable, which works for all HTTP versions. Co-authored-by: Alex Vandiver <alexmv@zulip.com>
Zulip Markdown documentation hosted elsewhere
The Markdown files in this directory ( /zulip/docs ) are not intended to be read on GitHub. Instead, visit our ReadTheDocs to read the Zulip documentation.