This is a cache of https://docs.openshift.com/serverless/1.29/knative-serving/external-ingress-routing/url-scheme-external-routes.html. It is a snapshot of the page at 2024-11-22T17:06:29.595+0000.
URL scheme for external routes - External and <strong>ingress</strong> routing | Serving | Red Hat OpenShift Serverless 1.29
×

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