1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-06 15:46:57 +01:00
Files
openshift-docs/modules/serverless-https-redirect-global.adoc

24 lines
735 B
Plaintext
Raw Normal View History

// Module included in the following assemblies:
2021-11-18 08:57:44 -06:00
//
// * serverless/admin_guide/serverless-configuration.adoc
2021-11-18 08:57:44 -06:00
:_content-type: REFERENCE
2021-11-18 08:57:44 -06:00
[id="serverless-https-redirect-global_{context}"]
= HTTPS redirection global settings
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).
2021-11-18 08:57:44 -06:00
.Example `KnativeServing` CR that enables HTTPS redirection
2021-11-18 08:57:44 -06:00
[source,yaml]
----
apiVersion: operator.knative.dev/v1alpha1
kind: KnativeServing
metadata:
name: knative-serving
spec:
config:
network:
httpProtocol: "redirected"
...
----