Update nginx config for HTTP/3 support #976

Merged
Oneric merged 1 commit from norm/akkoma:nginx-http3 into develop 2025-09-19 19:10:30 +00:00
Contributor

Overall fairly minor changes, but most importantly the Host header passed to the backend is set to $host instead of $http_host as HTTP/3 no longer uses the Host header, leaving it unset. $host will fallback to the server_name value in that situation while $http_host doesn't.

Ref: https://community.nginx.org/t/proxy-params-by-default-blocks-reverse-proxy-for-http-3/6792

Overall fairly minor changes, but most importantly the Host header passed to the backend is set to `$host` instead of `$http_host` as HTTP/3 no longer uses the Host header, leaving it unset. `$host` will fallback to the `server_name` value in that situation while `$http_host` doesn't. Ref: https://community.nginx.org/t/proxy-params-by-default-blocks-reverse-proxy-for-http-3/6792
norm force-pushed nginx-http3 from 919eb49685
Some checks are pending
ci/woodpecker/pr/test/1 Pipeline is pending approval
ci/woodpecker/pr/test/2 Pipeline is pending approval
to c746a2913c
Some checks are pending
ci/woodpecker/pr/test/1 Pipeline is pending approval
ci/woodpecker/pr/test/2 Pipeline is pending approval
2025-09-15 17:48:09 +00:00
Compare
norm force-pushed nginx-http3 from c746a2913c
Some checks are pending
ci/woodpecker/pr/test/1 Pipeline is pending approval
ci/woodpecker/pr/test/2 Pipeline is pending approval
to 89356097fa
Some checks are pending
ci/woodpecker/pr/test/1 Pipeline is pending approval
ci/woodpecker/pr/test/2 Pipeline is pending approval
2025-09-15 17:51:22 +00:00
Compare
Owner

Does this work without http3 on (and potentially some more quic settings) in the server block (or globally)?
Or is this enabled by default in new-enough nginx?

Does this work without `http3 on` (and potentially some more quic settings) in the server block (or globally)? Or is this enabled by default in new-enough nginx?
Author
Contributor

http3 on is the default when using the module: https://nginx.org/en/docs/http/ngx_http_v3_module.html

`http3 on` is the default when using the module: https://nginx.org/en/docs/http/ngx_http_v3_module.html
norm force-pushed nginx-http3 from 89356097fa
Some checks are pending
ci/woodpecker/pr/test/1 Pipeline is pending approval
ci/woodpecker/pr/test/2 Pipeline is pending approval
to da340fd46c
All checks were successful
ci/woodpecker/pr/test/1 Pipeline was successful
ci/woodpecker/pr/test/2 Pipeline was successful
2025-09-19 13:55:18 +00:00
Compare
Oneric approved these changes 2025-09-19 19:10:15 +00:00
Oneric merged commit 36ac91b25d into develop 2025-09-19 19:10:30 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
AkkomaGang/akkoma!976
No description provided.