HTTP/3 directives

quic_host_key directive

http, server; by default a new random key is generated at reload. Secret for QUIC token protection; old tokens may become invalid. Protect and coordinate rotation; not a TLS certificate key.

Formal Syntax & Structure

nginx syntaxnginx
quic_host_key file;

Parameters & Attributes

NameTypeDescription
filepathProtected token-encryption key file; not the server TLS private key. Coordinate rotation.

Working Example

Example Snippetnginx
quic_host_key certs/quic-token.key;
Nginx Reference