This is a cache of https://docs.openshift.com/serverless/1.30/knative-serving/external-ingress-routing/url-scheme-external-routes.html. It is a snapshot of the page at 2024-09-28T16:49:32.365+0000.
URL scheme for external <strong>route</strong>s - External and Ingress routing | Serving | Red Hat OpenShift Serverless 1.30
×

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