Fix Headers middleware documentation, usage of proper bool
This commit is contained in:
parent
e5e46bf4ed
commit
8d827f98da
1 changed files with 3 additions and 3 deletions
|
@ -151,8 +151,8 @@ metadata:
|
||||||
name: testHeader
|
name: testHeader
|
||||||
spec:
|
spec:
|
||||||
headers:
|
headers:
|
||||||
frameDeny: "true"
|
frameDeny: true
|
||||||
sslRedirect: "true"
|
sslRedirect: true
|
||||||
```
|
```
|
||||||
|
|
||||||
```yaml tab="Consul Catalog"
|
```yaml tab="Consul Catalog"
|
||||||
|
@ -217,7 +217,7 @@ spec:
|
||||||
- "https://foo.bar.org"
|
- "https://foo.bar.org"
|
||||||
- "https://example.org"
|
- "https://example.org"
|
||||||
accessControlMaxAge: 100
|
accessControlMaxAge: 100
|
||||||
addVaryHeader: "true"
|
addVaryHeader: true
|
||||||
```
|
```
|
||||||
|
|
||||||
```yaml tab="Consul Catalog"
|
```yaml tab="Consul Catalog"
|
||||||
|
|
Loading…
Reference in a new issue