Class TunnelConfigConfigIngressRuleOriginRequest


  • public final class TunnelConfigConfigIngressRuleOriginRequest
    extends java.lang.Object
    • Method Detail

      • bastionMode

        public java.util.Optional<java.lang.Boolean> bastionMode()
        Returns:
        Runs as jump host.
      • caPool

        public java.util.Optional<java.lang.String> caPool()
        Returns:
        Path to the certificate authority (CA) for the certificate of your origin. This option should be used only if your certificate is not signed by Cloudflare. Defaults to `""`.
      • connectTimeout

        public java.util.Optional<java.lang.String> connectTimeout()
        Returns:
        Timeout for establishing a new TCP connection to your origin server. This excludes the time taken to establish TLS, which is controlled by `tlsTimeout`. Defaults to `30s`.
      • disableChunkedEncoding

        public java.util.Optional<java.lang.Boolean> disableChunkedEncoding()
        Returns:
        Disables chunked transfer encoding. Useful if you are running a Web Server Gateway Interface (WSGI) server. Defaults to `false`.
      • http2Origin

        public java.util.Optional<java.lang.Boolean> http2Origin()
        Returns:
        Enables HTTP/2 support for the origin connection. Defaults to `false`.
      • httpHostHeader

        public java.util.Optional<java.lang.String> httpHostHeader()
        Returns:
        Sets the HTTP Host header on requests sent to the local service. Defaults to `""`.
      • keepAliveConnections

        public java.util.Optional<java.lang.Integer> keepAliveConnections()
        Returns:
        Maximum number of idle keepalive connections between Tunnel and your origin. This does not restrict the total number of concurrent connections. Defaults to `100`.
      • keepAliveTimeout

        public java.util.Optional<java.lang.String> keepAliveTimeout()
        Returns:
        Timeout after which an idle keepalive connection can be discarded. Defaults to `1m30s`.
      • noHappyEyeballs

        public java.util.Optional<java.lang.Boolean> noHappyEyeballs()
        Returns:
        Disable the “happy eyeballs” algorithm for IPv4/IPv6 fallback if your local network has misconfigured one of the protocols. Defaults to `false`.
      • noTlsVerify

        public java.util.Optional<java.lang.Boolean> noTlsVerify()
        Returns:
        Disables TLS verification of the certificate presented by your origin. Will allow any certificate from the origin to be accepted. Defaults to `false`.
      • originServerName

        public java.util.Optional<java.lang.String> originServerName()
        Returns:
        Hostname that cloudflared should expect from your origin server certificate. Defaults to `""`.
      • proxyAddress

        public java.util.Optional<java.lang.String> proxyAddress()
        Returns:
        cloudflared starts a proxy server to translate HTTP traffic into TCP when proxying, for example, SSH or RDP. This configures the listen address for that proxy. Defaults to `127.0.0.1`.
      • proxyPort

        public java.util.Optional<java.lang.Integer> proxyPort()
        Returns:
        cloudflared starts a proxy server to translate HTTP traffic into TCP when proxying, for example, SSH or RDP. This configures the listen port for that proxy. If set to zero, an unused port will randomly be chosen. Defaults to `0`.
      • proxyType

        public java.util.Optional<java.lang.String> proxyType()
        Returns:
        cloudflared starts a proxy server to translate HTTP traffic into TCP when proxying, for example, SSH or RDP. This configures what type of proxy will be started. Available values: `""`, `socks`. Defaults to `""`.
      • tcpKeepAlive

        public java.util.Optional<java.lang.String> tcpKeepAlive()
        Returns:
        The timeout after which a TCP keepalive packet is sent on a connection between Tunnel and the origin server. Defaults to `30s`.
      • tlsTimeout

        public java.util.Optional<java.lang.String> tlsTimeout()
        Returns:
        Timeout for completing a TLS handshake to your origin server, if you have chosen to connect Tunnel to an HTTPS server. Defaults to `10s`.