HTTP/3 directives

http3 directive

http, server; defaults to on. Permits HTTP/3 negotiation, but requires a QUIC listener and supported build. Introduced with the HTTP/3 module in 1.25.0.

Formal Syntax & Structure

nginx syntaxnginx
http3 on | off;

Parameters & Attributes

NameTypeDescription
stateon | offAllow HTTP/3 negotiation on a configured QUIC listener with a compatible build.

Working Example

Example Snippetnginx
http3 on;
Nginx Reference