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