Skip to content

ParkedHost

Returns a fixed status for claimed domains: reserve a name without serving anything. Useful to absorb unmatched vhosts and stop default-host leakage.

Field Type Required Notes
domains []string yes Hostnames this host claims. Exclusive across enabled hosts, like every other kind.
statusCode int no Status returned for every request. Unset (or 0) sends 404.
tls TLSSettings no Same shape as ProxyHost tls: certificateRef, forceSSL, minTLSVersion, hsts.* and clientAuth.* all apply. Note certificateRef is an intent record here too: the served certificate is selected by SNI.

A parked host's response renders the settings-level error page for statusCode, when one is configured, falling back to the plain-text body otherwise; it has no errorPages field of its own to override with.