Skip to content

defaults

Defaults applied to routes that do not set a value.

Type: string

Certificate (a key of certificates) served when no other certificate matches the requested name, or when the client sends no name (SNI).

Type: list of string · Default: ["websecure"]

Listeners used by routes that do not name any.

Type: boolean · Default: true

Redirect plain HTTP requests to HTTPS for hosts that have a TLS route.

Type: auto · off · Default: auto

TLS for routes that do not set tls: auto (automatic certificates) or off.

  • auto: Automatic certificates (ACME) for the route’s hosts.
  • off: No TLS.