HTTP/3 capability checks
Check the actual server and client
Nginx introduced its HTTP/3 module in 1.25.0. The official module documentation still labels it experimental. Check build flags, linked and running TLS library, package support and client capabilities separately. Current documentation recommends OpenSSL 3.5.1 or later for QUIC builds, but Nginx version and build integration also matter. The local observed 1.26.3 binary has HTTP/3 enabled at build time; its age and OpenSSL compatibility behavior do not establish production readiness.
Look for --with-http_v3_module and HTTP3 in curl's Features line. In the authoring environment the server flag is present but curl 8.10.1 has HTTP2 and no HTTP3. Do not install or start anything to repair the authoring environment. The full lab requires an independently approved supported build and HTTP/3-capable client.
Configure both listeners
listen 127.0.0.1:9443 ssl;listen 127.0.0.1:9443 quic;http2 on;http3 on;ssl_protocols TLSv1.2 TLSv1.3;ssl_certificate certs/server.crt;ssl_certificate_key certs/server.key;ssl_early_data off;The TCP listener handles TLS-based HTTP/1.1 and HTTP/2; the UDP listener handles QUIC. The HTTP/2 module and modern directive syntax (1.25.1+) are needed for http2 on. http3 defaults to on when the module is present but does not create a listener. The complete lab uses one worker and local certificates; it is not a production config. Multi-worker deployment may use reuseport with a reviewed routing strategy.
Use optional settings deliberately
http3_max_concurrent_streams 32;http3_stream_buffer_size 64k;quic_retry on;quic_gso off;Stream limits apply per connection. The buffer directive sets stream read/write buffer size; it is not a formula for exact process memory. Retry enables QUIC address validation, not application authentication. GSO batches sends on suitable Linux interfaces; keep it off for portability. The main-context quic_bpf option requires Linux 5.7+ and environment-specific privileges/capabilities. Current docs describe QUIC reload/live-upgrade preservation with BPF from 1.31.7; do not assume that on 1.26.3. A custom quic_host_key protects validation/reset tokens; keep it separate from certificate keys. No BPF or secret key file is required here.
Version traps and next step
Current documentation states that before 1.29.1 OpenSSL-based Nginx could not enable QUIC 0-RTT even with ssl_early_data on. Keep early data disabled regardless of support. Avoid enabling HTTP/0.9 test negotiation (http3_hq) for ordinary web delivery. Next: advertise the alternative service and prove negotiation.
Check Your Understanding
Solidify your learning with the interactive assessment directly below this lesson.
Concept Quiz & Questions
HTTP/3 capability checks
Check server build, TLS library, client capabilities and isolated TCP/UDP listeners before claiming HTTP/3 support.
Which flag indicates HTTP/3 module compilation?
What does http3 on create by itself?
What does a TCP 9443 success establish?
Which scope applies to the request stream count?
The curl Features line lacks HTTP3. What is appropriate?