mirror of https://github.com/knative/docs.git
Use redirected instead of enabled in the HTTP redirection example (#4511)
In [HTTPS redirection](https://knative.dev/docs/serving/services/http-option/) doc, the example uses `enabled` but it is a default value and it does not change anything. The section is talking about `HTTPS redirection` so we should use `redirected` for the example. Co-authored-by: Kenjiro Nakayama <nakayamakenjiro@gmail.com>
This commit is contained in:
parent
4be588b052
commit
233dad36a9
|
@ -23,7 +23,7 @@ You can override the default behavior for each Service or global configuration.
|
||||||
name: example
|
name: example
|
||||||
namespace: default
|
namespace: default
|
||||||
annotations:
|
annotations:
|
||||||
networking.knative.dev/httpOption: "enabled"
|
networking.knative.dev/httpOption: "redirected"
|
||||||
spec:
|
spec:
|
||||||
...
|
...
|
||||||
```
|
```
|
||||||
|
@ -36,7 +36,7 @@ You can override the default behavior for each Service or global configuration.
|
||||||
name: config-network
|
name: config-network
|
||||||
namespace: knative-serving
|
namespace: knative-serving
|
||||||
data:
|
data:
|
||||||
http-protocol: "enabled"
|
http-protocol: "redirected"
|
||||||
```
|
```
|
||||||
|
|
||||||
=== "Global (Operator)"
|
=== "Global (Operator)"
|
||||||
|
@ -48,5 +48,5 @@ You can override the default behavior for each Service or global configuration.
|
||||||
spec:
|
spec:
|
||||||
config:
|
config:
|
||||||
network:
|
network:
|
||||||
httpProtocol: "enabled"
|
httpProtocol: "redirected"
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue