Use endpoint middleware rather than hacky router

This commit is contained in:
Jake Howard
2021-03-27 23:34:34 +00:00
parent a5af5bea6c
commit 8398a2df21
2 changed files with 9 additions and 9 deletions

View File

@@ -5,12 +5,3 @@ http:
scheme: https
compress:
compress: {}
routers:
tls-redirect:
service: ping@internal
rule: PathPrefix(`/`)
entryPoints:
- web
middlewares:
- tls-redirect