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
|
||||
namespace: default
|
||||
annotations:
|
||||
networking.knative.dev/httpOption: "enabled"
|
||||
networking.knative.dev/httpOption: "redirected"
|
||||
spec:
|
||||
...
|
||||
```
|
||||
|
@ -36,7 +36,7 @@ You can override the default behavior for each Service or global configuration.
|
|||
name: config-network
|
||||
namespace: knative-serving
|
||||
data:
|
||||
http-protocol: "enabled"
|
||||
http-protocol: "redirected"
|
||||
```
|
||||
|
||||
=== "Global (Operator)"
|
||||
|
@ -48,5 +48,5 @@ You can override the default behavior for each Service or global configuration.
|
|||
spec:
|
||||
config:
|
||||
network:
|
||||
httpProtocol: "enabled"
|
||||
httpProtocol: "redirected"
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue