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"
|
- "10.0.0.0/8"
|
||||||
- "172.16.0.0/12"
|
- "172.16.0.0/12"
|
||||||
- "192.168.0.0/16"
|
- "192.168.0.0/16"
|
||||||
hsts:
|
tls-redirect:
|
||||||
redirectScheme:
|
redirectScheme:
|
||||||
scheme: https
|
scheme: https
|
||||||
|
|
||||||
routers:
|
routers:
|
||||||
hsts:
|
tls-redirect:
|
||||||
service: ping@internal
|
service: ping@internal
|
||||||
rule: PathPrefix(`/`)
|
rule: PathPrefix(`/`)
|
||||||
entryPoints:
|
entryPoints:
|
||||||
- web
|
- web
|
||||||
middlewares:
|
middlewares:
|
||||||
- hsts
|
- tls-redirect
|
||||||
|
|
Loading…
Reference in a new issue