Rename middleware

It's not actually applying a HSTS header
This commit is contained in:
Jake Howard 2020-06-13 21:09:48 +01:00
parent d7b6abaf58
commit ca188ab1b4
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -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