Skip to content

Variable: FrpOptionsSchema

const FrpOptionsSchema: ZodObject<{ path: ZodOptional<ZodString>; port: ZodCoercedNumber<number>; protocol: ZodOptional<ZodString>; proxyName: ZodOptional<ZodString>; publicDomain: ZodOptional<ZodString>; server: ZodOptional<ZodString>; serverPort: ZodOptional<ZodCoercedNumber<number>>; stripPrefix: ZodOptional<ZodBoolean>; targetPort: ZodOptional<ZodCoercedNumber<number>>; token: ZodOptional<ZodString>; }, $strict>

FRP tunnel resolution options.

  • publicDomain (optional): FRP public HTTP host.
  • server (optional): FRP control host.
  • serverPort (optional): FRP control port.
  • protocol (optional): FRP transport protocol.
  • token (optional): FRP authentication token.
  • proxyName (optional): FRP proxy registration name.
  • path (optional): FRP public path.
  • stripPrefix (optional): Strip the FRP path before forwarding.
  • port: Public listener port.
  • targetPort (optional): Private target port.