This is a cache of https://docs.openshift.com/serverless/1.29/knative-serving/external-ingress-routing/https-redirect-global.html. It is a snapshot of the page at 2024-11-22T17:06:27.310+0000.
Global HTTPS redirection - External and Ingress routing | Serving | Red Hat OpenShift Serverless 1.29
×

HTTPS redirection provides redirection for incoming HTTP requests. These redirected HTTP requests are encrypted. You can enable HTTPS redirection for all services on the cluster by configuring the httpProtocol spec for the KnativeServing custom resource (CR).

HTTPS redirection global settings

Example KnativeServing CR that enables HTTPS redirection
apiVersion: operator.knative.dev/v1beta1
kind: KnativeServing
metadata:
  name: knative-serving
spec:
  config:
    network:
      httpProtocol: "redirected"
...