This is a cache of https://docs.openshift.com/container-platform/4.9/serverless/knative-serving/external-ingress-routing/url-scheme-external-routes.html. It is a snapshot of the page at 2024-11-22T19:36:29.824+0000.
URL scheme for external <strong>routes</strong> - Serving | Serverless | OpenShift Container Platform 4.9
×

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"
...