You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Usage: "Path to the CA for the certificate of your origin. This option should be used only if your certificate is not signed by Cloudflare.",
799
+
Usage: legacyTunnelFlag("Path to the CA for the certificate of your origin. This option should be used only if your certificate is not signed by Cloudflare."),
800
800
EnvVars: []string{"TUNNEL_ORIGIN_CA_POOL"},
801
801
Hidden: shouldHide,
802
802
}),
803
803
altsrc.NewBoolFlag(&cli.BoolFlag{
804
804
Name: ingress.NoTLSVerifyFlag,
805
-
Usage: "Disables TLS verification of the certificate presented by your origin. Will allow any certificate from the origin to be accepted. Note: The connection from your machine to Cloudflare's Edge is still encrypted.",
805
+
Usage: legacyTunnelFlag("Disables TLS verification of the certificate presented by your origin. Will allow any certificate from the origin to be accepted. Note: The connection from your machine to Cloudflare's Edge is still encrypted."),
806
806
EnvVars: []string{"NO_TLS_VERIFY"},
807
807
Hidden: shouldHide,
808
808
}),
809
809
altsrc.NewBoolFlag(&cli.BoolFlag{
810
810
Name: ingress.NoChunkedEncodingFlag,
811
-
Usage: "Disables chunked transfer encoding; useful if you are running a WSGI server.",
811
+
Usage: legacyTunnelFlag("Disables chunked transfer encoding; useful if you are running a WSGI server."),
812
812
EnvVars: []string{"TUNNEL_NO_CHUNKED_ENCODING"},
813
813
Hidden: shouldHide,
814
814
}),
815
815
}
816
816
returnappend(flags, sshFlags(shouldHide)...)
817
817
}
818
818
819
+
funclegacyTunnelFlag(msgstring) string {
820
+
returnfmt.Sprintf(
821
+
"%s This flag only takes effect if you define your origin with `--url` and if you do not use ingress rules."+
822
+
" The recommended way is to rely on ingress rules and define this property under `originRequest` as per"+
0 commit comments