This is a cache of https://docs.openshift.com/serverless/1.34/knative-serving/external-ingress-routing/url-scheme-external-routes.html. It is a snapshot of the page at 2024-11-20T16:33:54.574+0000.
URL scheme for external routes - External and Ingress routing | Serving | Red Hat OpenShift Serverless 1.34
×

The URL scheme of external routes defaults to HTTPS for enhanced security. This scheme is determined by the default-external-scheme key in the KnativeServing custom resource (CR) spec.

Setting the URL scheme for external routes

Default spec
...
spec:
  config:
    network:
      default-external-scheme: "https"
...

You can override the default spec to use HTTP by modifying the default-external-scheme key:

HTTP override spec
...
spec:
  config:
    network:
      default-external-scheme: "http"
...