Update headers middleware docs for kubernetes crd
This commit is contained in:
parent
85ce16b34f
commit
3e914256ce
1 changed files with 6 additions and 6 deletions
|
@ -26,9 +26,9 @@ metadata:
|
||||||
name: testHeader
|
name: testHeader
|
||||||
spec:
|
spec:
|
||||||
headers:
|
headers:
|
||||||
CustomRequestHeaders:
|
customRequestHeaders:
|
||||||
X-Script-Name: "test"
|
X-Script-Name: "test"
|
||||||
CustomResponseHeaders:
|
customResponseHeaders:
|
||||||
X-Custom-Response-Header: "True"
|
X-Custom-Response-Header: "True"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -68,10 +68,10 @@ metadata:
|
||||||
name: testHeader
|
name: testHeader
|
||||||
spec:
|
spec:
|
||||||
headers:
|
headers:
|
||||||
CustomRequestHeaders:
|
customRequestHeaders:
|
||||||
X-Script-Name: "test" # Adds
|
X-Script-Name: "test" # Adds
|
||||||
X-Custom-Request-Header: "" # Removes
|
X-Custom-Request-Header: "" # Removes
|
||||||
CustomResponseHeaders:
|
customResponseHeaders:
|
||||||
X-Custom-Response-Header: "" # Removes
|
X-Custom-Response-Header: "" # Removes
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -114,8 +114,8 @@ metadata:
|
||||||
name: testHeader
|
name: testHeader
|
||||||
spec:
|
spec:
|
||||||
headers:
|
headers:
|
||||||
FrameDeny: "true"
|
frameDeny: "true"
|
||||||
SSLRedirect: "true"
|
sslRedirect: "true"
|
||||||
```
|
```
|
||||||
|
|
||||||
```yaml tab="Rancher"
|
```yaml tab="Rancher"
|
||||||
|
|
Loading…
Add table
Reference in a new issue