Interface: ProxyOptions
Properties
Section titled “Properties”appPort
Section titled “appPort”appPort:
number
The private loopback port the wrapped app listens on.
bindHosts?
Section titled “bindHosts?”
optionalbindHosts?: readonlystring[]
Addresses to listen on. Defaults to a single 0.0.0.0 (every interface),
the portr/platform case. Pass specific interface IPs to expose the gate on
only those - e.g. an overlay/LAN address while loopback reaches the upstream
directly and ungated.
brandName?
Section titled “brandName?”
optionalbrandName?:string
Brand name for the hosted login page shown on a denied browser navigation.
forwardHeaders?
Section titled “forwardHeaders?”
optionalforwardHeaders?: readonlystring[]
Extra x- headers tunnel traffic may forward.
optionalgate?:AuthGateApi
The gate handlers. Omitted (an --insecure run) forwards everything.
gatePaths?
Section titled “gatePaths?”
optionalgatePaths?: readonlystring[]
Path prefixes to gate beyond /api/ (e.g. /ws for a WebSocket app).
publicPort
Section titled “publicPort”publicPort:
number
The port this proxy listens on - the port portr and the platform route to.