Rename middleware
It's not actually applying a HSTS header
This commit is contained in:
parent
d7b6abaf58
commit
ca188ab1b4
1 changed files with 3 additions and 3 deletions
|
@ -6,15 +6,15 @@ http:
|
|||
- "10.0.0.0/8"
|
||||
- "172.16.0.0/12"
|
||||
- "192.168.0.0/16"
|
||||
hsts:
|
||||
tls-redirect:
|
||||
redirectScheme:
|
||||
scheme: https
|
||||
|
||||
routers:
|
||||
hsts:
|
||||
tls-redirect:
|
||||
service: ping@internal
|
||||
rule: PathPrefix(`/`)
|
||||
entryPoints:
|
||||
- web
|
||||
middlewares:
|
||||
- hsts
|
||||
- tls-redirect
|
||||
|
|
Loading…
Reference in a new issue