ProxyProtocolConfig

Either a host → target mapping, or a resolver called with each request uri — never both.

Either a host → target mapping, or a resolver called with each request uri — never both.

View source ↗

Type

type ProxyProtocolConfig = ProtocolOptions & ({ hosts: Hosts | (() => Hosts | Promise<Hosts>); resolver?: never } | { hosts?: never; resolver: ProxyResolver });

On this page