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-11-29T16:58:31.643+0000.
URL scheme for external routes - 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"
...