Fix Security Headers Doc
This commit is contained in:
parent
2042fdf3bd
commit
9179aa52cf
1 changed files with 4 additions and 4 deletions
|
@ -162,8 +162,8 @@ labels:
|
||||||
```toml tab="File (TOML)"
|
```toml tab="File (TOML)"
|
||||||
[http.middlewares]
|
[http.middlewares]
|
||||||
[http.middlewares.testHeader.headers]
|
[http.middlewares.testHeader.headers]
|
||||||
FrameDeny = true
|
frameDeny = true
|
||||||
SSLRedirect = true
|
sslRedirect = true
|
||||||
```
|
```
|
||||||
|
|
||||||
```yaml tab="File (YAML)"
|
```yaml tab="File (YAML)"
|
||||||
|
@ -171,8 +171,8 @@ http:
|
||||||
middlewares:
|
middlewares:
|
||||||
testHeader:
|
testHeader:
|
||||||
headers:
|
headers:
|
||||||
FrameDeny: true
|
frameDeny: true
|
||||||
SSLRedirect: true
|
sslRedirect: true
|
||||||
```
|
```
|
||||||
|
|
||||||
### CORS Headers
|
### CORS Headers
|
||||||
|
|
Loading…
Reference in a new issue